2626773 Refactor 1.20.5+ versioned types
Co-authored-by: FlorianMichael florian.michael07@gmail.com
f16f190 Move container handling into handleShowItem directly Fixes ViaVersion/ViaBackwards#1010
cc435b2 Move item id setter below backup method
eb2d603 Add protected handleRewritablesToServer method
c30e0f4 Split up item rewriter methods even more Item backups and its restoration processes have to be more carefully placed around Rewritable handling, so the original/restored data stays untouched
ebb24c7 Don't call super handleItemToClient with custom item hasher
575c5b9 Move restoreBackupData call up
812694d Split updateItemDataComponents in two
1efaffb Implement more data conversion Most importantly attributes
3554db9 Prepare for hashed item rewriting
0b5721d Check for non-negative value for damage & repair cost in 1.20.3->.5 (#4491)
In 1.20.5, codecs introduced the non-negative int type which will fail if a value <= 0 is present. In 1.20.4, Mojang gracefully handled negative values
Fixes https://github.com/ViaVersion/ViaFabricPlus/issues/763
5bad61e Don't perform length validation on zero bit storage in 1.18 palette type (#4479)
Minecraft has its own ZeroBitStorage type for this case so we don't need to perform the validation, also removed the comments as this is just how our code should work to match Vanilla behaviour (at least for the first one; I did not verify the readValues code)
d9eb710 Add missing PLAYER_CHAT handlers in 1.20/1.21 versions (#4472)
Co-authored-by: FlorianMichael florian.michael07@gmail.com
77d6830 Update Gradle Wrapper from 8.13 to 8.14 (#4471)
Signed-off-by: gradle-update-robot gradle-update-robot@regolo.cc Co-authored-by: gradle-update-robot gradle-update-robot@regolo.cc
16aec9c Fix legacy item/entity hover event + potion id in 1.21.4->1.21.5 (#4469)
c6cde5f Cancel unknown block entities in BlockRewriter#registerBlockEntityData (#4466)
bf84eb0 Add separate config option for text component conversion errors
4dfc3bd Make parts of item data component rewriting more generic via an interface
d65b2ab Ignore invalid data in signs
03313a1 Catch text conversion errors