Register Items
Registers Items to be used with
Functions
Link copied to clipboard
fun registerBlockItem(modID: String, name: String, block: Block, properties: Item.Properties): BlockItem
Registers a BlockItem under the Item registry, with a resource location of your mod's namespace and item ID, followed by what block it's registered to, and your defined Block Item properties
Link copied to clipboard
Registers an item under the Item Registry, with a resource location of your mod's namespace and item ID, and your defined Item properties
Link copied to clipboard
Registers a regular item under the Item Registry, with a normal item property, with a resource location of your mod's namespace and item ID