This update was designed to reduce the amount of Boilerplate required to create Buttons, fix issues with the async rendering and languages.
Buttons
Render & Action interfaces
They are now separated to make use of lambda and make it more flexible and should replace the old ButtonRenderAction as it is now deprecated!
CustomItems
MythicMobs
Integrated MythicMobs to automatically the item names and update them if they change in MythicMobs.
This requires the MM Items to include the
Options.AppendType to be enabled, so WU can read the name from the NBT data.
Vanilla Features:
- Block placement
- Block use of item inside vanilla recipes (only crafting recipes!)
ItemStack Serialization
Uses a new way so serialize/deserialize ItemStacks. This however still doesn't fix load issues with some items using invalid NBT Tags.
Potion Effects
The JacksonUtil ObjectMapper now contains a Serializer/Deserializer for PotionEffect and PotionEffectType.
Bug Fixes
- Fixed GUI not responding and updating after opening input and going back.
- Fixed sync updating of GUIs not working
- Fixed previous GuiWindow updating when the Window was changed inside a ButtonAction.
- Fixed LanguageAPI error if the String, it tried to translate, didn't contain a language key.
- Removed backward compatibilities with old 1.13 custom durability, as it was saved inside the lore and wasn't efficient.
- Removed unused files
- Minor changes to prevent NullPointer when updating GUIs