🧱 Block Item
Last updated
Last updated
A block item is an item that is bound to a block. You can configure its corresponding block ID here, or even the entire block configuration (but please note that doing so will result in the time taken to load the block being recorded under the item loading process). When you bind this behavior to an item, you can place it by right-clicking.
Please note, where a block can be placed is determined by its 🕹️ Block Behaviors. For example, the sapling in the image can only be placed on blocks with the dirt
or farmland
tags because its block behavior is that of a sapling block
.
This is the simplest way to configure a block, but it assumes that you have already configured a block. If you are unsure how to configure a block, please refer to 🧱 Blocks.
If you find it too cumbersome to configure them separately, you can choose to configure them together. Below is an example. The format under block
follows the standard block configuration format.