registerBlockItem

fun registerBlockItem(modID: String, name: String, block: Block, properties: Item.Properties): BlockItem(source)

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