4b85ca7 Fix handling of removed item components in 1.20.3->.5 component rewriter (#4452)
Only relevant for VB though as VV will never put empty structured data through it.
ebd8eb7 Use correct version in json to tag conversion in 1.21.4->.5 (#4450)
09cffbf Null check connection in Velocity connect listener
49a1bff Only send the connection details if ViaVersion is active (#4434)
3beddaf Move show item container contents conversion to the right place Fixes #4444
1f40482 Track it on 1.21.4 servers already
742e70f Small cleanup, track gamemode
dd6a1a7 Update old version warning to <1.16 servers The original <1.13 warning was added almost 5 years ago, since then more small issues have come up from newer clients having fundamental changes and server stats on those old versions have dropped even more. That said, ViaVersion will keep working on these servers presumably forever
08ef7c2 Add back legacy hover event conversion
e128469 Fix missing mapping of CHUNKS_BIOMES for 1.21.5 (#4425)
29f299d Update MCStructs to 3.0.0 (#4422)
41138aa Implement pick-block for legacy servers (#4412)
b90f20c Fix 1.20.3 disguised chat handler
1.21.5 client support
- Fixed custom model data handling in block entities in 1.21.2->1.21.4
- Fixed removed item data components in item hover events in 1.21->1.21.2 and 1.21.2->1.21.4
- Fixed shulker boxes content not being visible in 1.20.3->1.20.5 (by EnZaXD)
- Fixes to item hover event handling in 1.20.3->1.20.5 (by kennytv, EnZaXD)
- Fixed duplicate registry entries causing errors (by EnZaXD)
- Fixed blocks in minecarts in 1.8->1.9 (by EnZaXD)
- Fixed error with 1.9+ clients joining a 1.8 server when ViaVersion installed on Velocity (by EnZaXD)
- Removed consumable blocking sound for 1.21.4 clients on 1.8 servers (by lowercasebtw)
- Note: Item desyncs may occur if you are running a version between 1.17 and 1.21 or don't have ViaVersion running on an up-to-date Paper server
This version also adds custom payload sending to get player protocol version data across platforms (by EnZaXD). If ViaVersion is installed on a proxy (e.g. Velocity or ViaProxy) or the client (e.g. ViaFabricPlus), you may be able to get this information by listening to custom payloads ("plugin messages") on any platform within the chain, which can be useful for anti-cheats and other player version-dependent code. See the wiki for more information. Example JSON data:
{
"platformName": "Velocity",
"platformVersion": "3.1.2",
"version": 760,
"versionName": "1.19.4"
}
Please also note that at some point in the future, ViaVersion will require at least Java 21 to run. If you're already on 17, an update should be trivial.
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.
d1e2761 Update warning when no working pipe is found (#4416)
5ab4f49 Add Copyable interface and unify copy() methods (#4413)
494da63 Rewrite ConnectionManager to track client/server connections (#4410)
a0b0ed4 Make <1.21.2 container id types consistent with Vanilla again ... that's to say, to make them inconsistent thanks to special ids: Byte:
- CONTAINER_SET_SLOT
- CONTAINER_CLICK
- PLACE_GHOST_RECIPE
- PLACE_RECIPE
- CONTAINER_BUTTON_CLICK
- CONTAINER_CLOSE (serverbound)
- CONTAINER_ACK (serverbound) Unsigned byte (unchanged):
- OPEN_SCREEN
- CONTAINER_SET_CONTENT
- CONTAINER_SET_DATA
- HORSE_SCREEN_OPEN
- CONTAINER_CLOSE (clientbound)
- CONTAINER_ACK (clientbound) Short (unchanged):
- SET_CREATIVE_MODE_SLOT
This doesn't change much in practice, but means it matches the Vanilla reading
e9ec29a Javadoc fixes (#4391)