How to set blocks in minecraft with commands
- how to use setblock in minecraft
- how to use setblock in minecraft bedrock
- how to use setblock in minecraft java
- how to use setblock command in minecraft education edition
How to use setblock command in minecraft education edition.
For the command that fills an area of blocks, see Commands/fill.
Minecraft setblock command multiple blocks
setblock
Changes a blockto another block.Syntax[]
Arguments[]
JE: : block_pos
BE: : CommandPosition
- Specifies the position of the block to be changed.
- In Java Edition, must be a block position composed of , and , each of which must be an integer or a tilde and caret notation. In Bedrock Edition, must be a three-dimensional coordinates composed of , and , each of which must be a floating-point number or tilde and caret notation.
JE: : block_state
BE: : enum
- Specifies the new block.
- In Java Edition, must be in the format of (does not accept block tags), in which block states and data tags can be omitted when they are not needed. In Bedrock Edition, must be a block id.
BE: : BlockStateCommandParam
- Specifies the block states to use for the block.
- Must be a blockstate argument as .
For example: .
- Specifies how to handle the block change. Must be one of:
- — The old block drops both itself and its contents (as if destroyed by a player). Play
- how to setblock in minecraft
- how to use /setblock command in minecraft
- — The old block drops both itself and its contents (as if destroyed by a player). Play