Add API similar to ItemsRegistry but for custom blocks.
Features:
- check if a custom block with a given name exists
- get the block id (as string) of a
Block or ItemStack (for blocks in the hand of a player)
- create an
ItemStack for a given block id and amount
- place a custom block with given id at a destination
Block
Add API similar to
ItemsRegistrybut for custom blocks.Features:
BlockorItemStack(for blocks in the hand of a player)ItemStackfor a given block id and amountBlock