WolfyUtilities | Core API [1.17.1 - 1.21.1] icon

WolfyUtilities | Core API [1.17.1 - 1.21.1] -----

Inventory GUI API, JSON/HOCON Serialization, Plugin Compatibility Utils, etc.



CustomItem improvements | v1.7.1.1
Changelog
  • Added ignoreAmount to CustomItem#isSimilar
  • Added FuelSettings object to better structure the CustomItem.
  • Added CustomItem#removeUnStackableItem(ItemStack, boolean) to toggle the craft remains. (default always on)
  • Renamed CustomItem#consumeItem to CustomItem#remove
  • Added CustomItem#remove with an additional setting to toggle the craft remains.
  • Added more and better JavaDoc for CustomItem and APIReferences.
  • Added Custom Deserializer/Serializer for CustomData.
  • Added a weight option to the APIReference, which can override the CustomItem weight setting if it is bigger than 0.
  • Added Environment property to distinguish between dev and prod. (Start argument: -Dcom.wolfyscript.env=<DEV|PROD>)
  • Removed Custom Serializer/Deserializer of the CustomItem for better and easier structure using Jackson annotations.
  • Fixed CustomItem craft remains not clearing the ItemMeta if applied.
    So Water Buckets with NBT like names, etc. will no longer transfer that to the Bucket they are replaced with.
  • Improved RandomCollection to use the ThreadLocalRandom whenever possible. It can be overridden by using RandomCollection(Random) or RandomCollection#next(Random)
----------, Jul 9, 2021
Resource Information
Author:
----------
Total Downloads: 107,480
First Release: Jan 19, 2019
Last Update: May 2, 2024
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings