The minecraft:block
item component allows its user to place a block state.
The block used is obtained from the specified block picker when you use it on a block, which then determines the block state to place.
Name | Description | Type | Default Value |
---|---|---|---|
block | The block to place. | A block picker | |
operator_only | Whether only operated players may place this block or not. | An optional boolean | false |
{ "block": "minecraft:cobblestone" }