Update click and hover text component serialization for 1.21.5. (#2757)
Hacky workaround by overwriting the text3 StyleSerializer class with our own modified copy.
Note that the hover events "show_entity" and "show_item" aren't supported as they no longer take a rendered component, but just the NBT structure.
Behavior remains unchanged if 1.21.4- is detected.
Fixes #2756. (ce043859 by wizjany)
Do not paste unsaveable entities in their default state (#2721)
Remove a redundant passenger check, as entity.save() returns false in that case.
This also causes leash knots to not be copied. I don't think this is a problem because:
- They would not be saved to disk, it's misleading for users that they appear.
- Pasted leashed mobs still think they're leashed to the original position and get unleashed* - no change in behaviour.
\* Unless they're pasted close enough to the original position, in which case this has better behaviour because they create their own leash_knot entity. (25988878 by brickmonster)
[Bukkit] Update for 1.21.5
Gradle 8.13
Work around weird NBT list oddities
Fix incorrect DataVersion from MC Wiki
[Bukkit] Update Paper dev bundle for 1.21.5 (2a9a7edb by Maddy Miller)