Updates the boat_type mechanism to use the new Spigot API for 1.19 and 1.20. Also updates to the new Property registration.
Note:I tried using if checks for the different versions but when I tested on 1.18 it did not like when Boat.Type.class was present anywhere so I decided to put it into the NMS entity helper. I tried messing with the if checks to see what will work but couldn't figure anything out. Let me know if there is a way to do it without needing to add functions to the helper :)
Include boat types to
EntityTag.color
and deprecateEntityTag.boat_type
for 1.19+Changes:
EntityTag.boat_type
mechanismEntityTag.boat_type
to new property formatEntityTag.color
to new property formatEnityTag.color
for versions 1.19+Tested on versions 1.17 - 1.20
Requested by Udnek
Updateboat_type
for 1.19 and 1.20Updates theboat_type
mechanism to use the new Spigot API for 1.19 and 1.20. Also updates to the new Property registration.Note:I tried usingif
checks for the different versions but when I tested on 1.18 it did not like whenBoat.Type.class
was present anywhere so I decided to put it into the NMS entity helper. I tried messing with theif
checks to see what will work but couldn't figure anything out. Let me know if there is a way to do it without needing to add functions to the helper :)