RegisterItems

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
fun registerItem(modID: String, name: String, item: Item): Item

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
fun registerRegularItem(modID: String, name: String): Item

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