registerItem

fun registerItem(modID: String, name: String, item: Item): Item(source)

Registers an item under the Item Registry, with a resource location of your mod's namespace and item ID, and your defined Item properties