Item Stack Builder
Helper class for creating an ItemStack with various properties. Includes methods for creating PylonItem stacks, and gui items.
Implements InvUI's ItemProvider, so can be used instead of an ItemStack in GUIs.
Functions
Adds a color to the item's custom model data, used in resource packs.
Adds a boolean to the item's custom model data, used in resource packs.
Adds a float to the item's custom model data, used in resource packs.
Adds a string to the item's custom model data, used in resource packs.
Sets the item's lore to the default language file key (for example pylon.pyloncore.item.my_dumb_item.lore), based on the item key given.
Sets the item's name to the default language file key (for example pylon.pyloncore.item.my_dumb_item.name), based on the item key given.
In order to get around potions and player heads overriding item_name, Pylon by default does unspeakable things to the item to get it to work. This method disables those hacks, which may have unintended side effects.