Item Stack Builder
Helper class for creating an ItemStack, including utilities for creating Pylon items specifically.
Implements InvUI's ItemProvider, so can be used instead of an ItemStack in GUIs.
You should use this when using anything to do with Component.translatable including io.github.pylonmc.pylon.core.item.PylonItems in InvUI GUIs. Yes, this is confusing and annoying - it is unfortunately necessary to get around InvUI's translation system.
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.