3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-30 18:10:12 +01:00
Commit graph

2606 Commits

Autor SHA1 Nachricht Datum
FlorianMichael
2f750317e2 Update API usage 2024-12-14 22:23:21 +01:00
FlorianMichael
13fa72435c Merge branch 'master' into component-rewriter-work
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/ComponentRewriter1_20_5.java
2024-12-14 22:19:29 +01:00
Nassim Jahnke
4773ba41cf
Replace wiki.vg links 2024-12-10 15:50:38 +01:00
Nassim Jahnke
f2456abd5b
Handle supported/primary items in registry data
Fixes ViaVersion/ViaBackwards#928
2024-12-10 11:30:03 +01:00
Rocco
75c6662665
Sword blocking: consumables for 1.21.4+, back to shields for 1.20.5-1.21.3 (#4299) 2024-12-09 11:08:51 +01:00
Nassim Jahnke
3cd01978df
Implement block and entity picking 2024-12-06 13:02:22 +01:00
Nassim Jahnke
0c4dbbe0bb
Warn when not using Java 21+ 2024-12-06 10:56:14 +01:00
Nassim Jahnke
ae60e2f28d
Update template protocol 2024-12-04 15:38:24 +01:00
Nassim Jahnke
17a73dff82
Handle set_player_inventory 2024-12-04 15:23:56 +01:00
Nassim Jahnke
210b0a6f0e
1.21.4-rc3 2024-12-01 09:38:29 +01:00
Nassim Jahnke
f0f87b26d7
Fix 1.21.2 trim material override transition 2024-11-30 13:55:45 +01:00
Nassim Jahnke
45a55a81c7
1.21.4-rc2 2024-11-30 13:55:45 +01:00
Nassim Jahnke
2f08f0d58c
Set max capacity for remaining buf
This allows the returned buffer to be a cached empty buf if the original buffer was already fully read
2024-11-30 13:55:45 +01:00
Nassim Jahnke
d3f92ce9b8
Don't swap teleport accept and move packets for 1.21.4 clients
They changed it again. Probably missing the same swap in 1.21.4<->1.21.2 now
2024-11-30 13:55:45 +01:00
Nassim Jahnke
8f8bc55bd0
24w46a 2024-11-30 13:55:44 +01:00
Nassim Jahnke
81d92a728d
Add old custom model data to new float list 2024-11-30 13:55:44 +01:00
Nassim Jahnke
68666d2d44
24w45a 2024-11-30 13:55:44 +01:00
RK_01
e539375143
Only apply chunk loading fix for 1.21.2 clients (#14) 2024-11-30 13:55:43 +01:00
FlorianMichael
0acec719b1
Small cleanup 2024-11-30 13:55:43 +01:00
Nassim Jahnke
93e92ffc82
Handle item name changes in trim material registry 2024-11-30 13:55:43 +01:00
Nassim Jahnke
82c55b1d78
24w44a 2024-11-30 13:55:43 +01:00
Nassim Jahnke
dd660a2de0
Add missing UUID to attribute in 1.20.5->1.20.4
Fixes #4293
2024-11-30 13:54:15 +01:00
EnZaXD
1653de70c8
Update block connections file (#4291) 2024-11-29 17:14:43 +01:00
EnZaXD
b57265e64f
Send full position update packet in 1.20.5->1.21 placement rotation fix (#4290) 2024-11-29 16:02:47 +01:00
lowercasebtw
9d4af84872
Fix footstep particle causing null kick (#4287) 2024-11-28 12:05:22 +01:00
Valaphee The Meerkat
40665782e7
Rewrite ingredient items in 1.20.5 recipe rewriter (#4285) 2024-11-26 17:20:06 +01:00
Valaphee The Meerkat
2d663db53f
Fix 1.12 recipes containing stone as placeholder, improve empty handling in 1.20.5/1.21.2 (#4284) 2024-11-26 17:04:50 +01:00
Nassim Jahnke
896c6accfb
Fix 1.13 recipe ingredient writing 2024-11-26 16:29:44 +01:00
Valaphee The Meerkat
1785677901
Fix BlockRewriter block event handling (#4282) 2024-11-26 15:53:44 +01:00
Nassim Jahnke
e32205ddaf
Fix 1.21 food using_converts_to handling
Fixes #4280
2024-11-25 10:14:12 +01:00
Pablo Herrera
f93c64d6aa
Improve 1.21 client enchantments on legacy servers (#4255)
Signed-off-by: Pablo Herrera <pabloherrerapalacio@gmail.com>
2024-11-24 11:19:05 +01:00
EnZaXD
7897fca5be
Add config option for 1.20.4->1.20.5 sword blocking fix (#4276) 2024-11-21 19:26:25 +01:00
EnZaXD
3ba86741f9
Send default entity data for items in 1.10->1.11 (#4265) 2024-11-18 15:05:25 +01:00
Nassim Jahnke
5772ee4a93
Only send tags early for 1.20.5+ clients, track early send properly in 1.20->1.20.2 2024-11-17 11:47:33 +01:00
Nassim Jahnke
c525575d37
Revert hard limit in 1.17 book size check 2024-11-11 14:54:38 +01:00
Nassim Jahnke
b8a170873d
Add more info to missing light data warning 2024-11-11 14:38:10 +01:00
Nassim Jahnke
04e936d487
Some more pre-sizing 2024-11-11 14:33:29 +01:00
EnZaXD
6553fc9ae9
Only print invalid custom payload channel warnings in debug mode (#4257)
We previously had people complaining about this being an error and not understanding what it means + servers can't do anything about these errors anyway.
2024-11-10 21:45:06 +01:00
EnZaXD
ddbe8ef0fb
Apply page network limit when converting book pages in 1.17->1.17.1 (#4256) 2024-11-10 21:44:10 +01:00
EnZaXD
8e4da81022
Move config option check for placement fix into packet handlers (#4248)
Fixes the config option breaking when using the reload command, also changes the message when using the /reload sub command.
2024-11-06 15:46:11 +01:00
Pro
1620fc35f5
Change "fix-1_21-placement-rotation" to true by default (#4245) 2024-11-06 15:32:15 +01:00
Nassim Jahnke
e878d77959
Trim override materials are string to string 2024-11-06 10:42:18 +01:00
Nassim Jahnke
77f0826ec8
Skip extra buf copying entirely if wrapper had no changes 2024-11-04 22:55:40 +01:00
Nassim Jahnke
76db43cab3
Don't copy full transformed buf during every transform
The resulting modified buf is the exact same as before
2024-11-04 22:12:39 +01:00
Nassim Jahnke
f0eab71644
Pre-size most allocated byte buffers
Also avoids the default allocation size of 256 bytes for bufs that are much smaller than that
2024-11-04 21:27:09 +01:00
Nassim Jahnke
157a1fe249
Small cleanup here and there 2024-11-03 17:12:29 +01:00
EnZaXD
bc6ad16d40
Properly remove custom_data component if we created it in 1.20.5+ protocols (#4229) 2024-11-01 18:50:54 +01:00
EnZaXD
33aecef7b3
Handle custom name in block entities in 1.12->1.13 (#4232)
Fixes https://github.com/ViaVersion/ViaFabricPlus/issues/592
2024-11-01 18:18:31 +01:00
Nassim Jahnke
b7d37b16ae
Correctly convert lock code to json instead
The normal codec doesn't serialize components to nbt, but to json strings in a string tag...
2024-10-31 20:01:36 +01:00
FlorianMichael
2b840abfef
Check if blank, not empty 2024-10-31 19:31:34 +01:00