registerBlockWithItem

fun Block.registerBlockWithItem(modID: String, name: String): Block(source)

Registers a block & item to the Minecraft registry with the resource location set to the Mod ID

Return

Block and BlockItem