MinecraftBlockRegistry
Block registry implementation using material name as blockId. Supports block state properties in the vanilla format as a payload in setBlock, for example [facing=north].
Contents of blocks holding items, like chests or campfires, are passed to the drops consumer in breakBlock. Shulker boxes keep their contents inside the dropped item.
Properties
Functions
Link copied to clipboard
open override fun breakBlock(block: Block, tool: ItemStack?, dropsConsumer: DropsConsumer<ItemStack>): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard