The minecraft:place_block
action places a block at the specified position as if placed by a player.
This means it takes the side into account when determining the block and block state to place.
This action is successful if the block state was successfully placed.
Name | Description | Type | Default Value |
---|---|---|---|
block | The block to place. | A block picker | |
position | The position to target. | An action context parameter | |
decrement_count | Whether to decrement the item stack from the action context. | An optional boolean | true |
{ "type": "minecraft:place_block", "block": "minecraft:fire", "position": "target", "decrement_count": false }