CryptoMorin / XSeries

Library for cross-version Minecraft Bukkit support and various efficient API methods.
https://www.spigotmc.org/threads/378136/
MIT License
384 stars 124 forks source link

[XEntity] - Cat.Type is no longer an Enum in latest 1.21 builds #287

Closed HSGamer closed 3 weeks ago

HSGamer commented 1 month ago

Description Look like Spigot changed the type of Cat.Type from Enum to Interface, and required us to get it from Registry

From the build log: https://jitpack.io/com/github/CryptoMorin/XSeries/5788570d9d/build.log From the deprecation notice: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Cat.Type.html#valueOf(java.lang.String)

Version 1.21

xGinko commented 1 month ago

Same for frog variants, map cursor types, and villager types+profession.