f0eab71 Pre-size most allocated byte buffers Also avoids the default allocation size of 256 bytes for bufs that are much smaller than that
e9985ad Update mcstructs
157a1fe Small cleanup here and there
d48d0a2 Prettify error messages
157a1fe Small cleanup here and there
Lots of fixes, mostly to edge case data handling, and some more to older versions!
- Fixed items with block predicates causing disconnects for creative mode clients in 1.21->1.21.2 (by EnZaXD)
- Fixed errors from level 0 enchantments in 1.21->1.21.2
- Fixed painting entity data in 1.21->1.21.2
- Fixed opening chest boat inventories causing disconnects in 1.21->1.21.2
- Fixed boat types in 1.21->1.21.2 (by EnZaXD)
- Fixed item_name<->default name priority for items in 1.21->1.21.2 (by EnZaXD)
- Fixed some issues with item hover event displays in 1.20.5 and 1.21.2 (by EnZaXD)
- Fixed handling of empty lock codes in 1.21->1.21.2, usually sent by older servers (by valaphee, EnZaXD, kennytv)
- Fixed possible anticheat issues by dropping idle packets where only horizontal collision changed in 1.21->1.21.2 (by EnZaXD)
- Fixed empty custom data tags sometimes being removed with creative clients on 1.20.5/1.21 (by EnZaXD)
- Send enabled features packet in config phase for clients that have it in 1.19.1->1.19.3 (by EnZaXD)
- Fixed handling of block entity custom names in 1.12->1.13 (by EnZaXD)
- Fixed chunks possibly being invisible on 1.8 servers and older (by RK_01)
- Fixed some edgecase area effect cloud particle errors on older servers
- 1.21.2+ clients on 1.8 servers now get proper sword blocking animations through consumable item data (by RK_01)
If you want to get larger version updates early, consider supporting me via https://viaversion.com/donate. See the previous update notes for more info.
bc6ad16 Properly remove custom_data component if we created it in 1.20.5+ protocols (#4229)
33aecef Handle custom name in block entities in 1.12->1.13 (#4232)
Fixes https://github.com/ViaVersion/ViaFabricPlus/issues/592
b7d37b1 Correctly convert lock code to json instead The normal codec doesn't serialize components to nbt, but to json strings in a string tag...
2b840ab Check if blank, not empty
bc4ad7f Remove empty lock item components in 1.21->1.21.2 (#4228)
-
Fix protocol error when an empty lock is sent
-
Cleanup code
Co-authored-by: FlorianMichael florian.michael07@gmail.com
f08a412 Drop idle packets where only horizontal collision changed in 1.21->1.21.2 (#4220)
dcf050a Remove unneeded optional item type from Types1_21_2 Was only used in food properties up until 1.21.2 (luckily)
1f8d133 Fix painting entity data in 1.21->1.21.2 Fixes #4227
5278f8b Remove enchantments with level 0 in 1.21->1.21.2
8fdae33 Add auto start option to runViaProxy task (#4225)
4054e83 Skip ViaProxy update check in runViaProxy gradle task (#4224)
10f2cad Change the consume animation of swords to block (#4223)