Data
| Identifier | /setblock |
|---|---|
| Description | Changes a block to another block. |
| Permission level | 1 |
| Requires cheats | Yes |
Syntax
| Overload | Syntax |
|---|---|
| 2 | /setblock <position: POSITION> <tileName: BLOCK> <blockStates: BLOCK_STATE_ARRAY> [<oldBlockHandling: SETBLOCKMODE>] |
| 3 | /setblock <position: POSITION> <tileName: BLOCK> [<oldBlockHandling: SETBLOCKMODE>] |
See also
/script/scriptevent/sendshowstoreoffer/serveridentity/setmaxplayers/setworldspawn/spawnpoint/spreadplayers
Extracted from Minecraft Bedrock 1.26.70.21 — Mojang’s own published sample packs. 9Minecraft is not affiliated with Mojang or Microsoft.