registerBlockItem

fun Block.registerBlockItem(modID: String, name: String): BlockItem(source)

Registers an item to the Minecraft registry with the resource location set to the Mod ID

Return

BlockItem