Wiki 9Minecraft Wiki 9Minecraft
Bedrock source › Commands › /setblock

/setblock

/setblock

Command

/setblock in Minecraft Bedrock Edition 1.26.70.21, read straight from the game files.

Contents (3)
  1. Data
  2. Syntax
  3. See also

Data

Identifier/setblock
DescriptionChanges a block to another block.
Permission level1
Requires cheatsYes

Syntax

OverloadSyntax
2/setblock <position: POSITION> <tileName: BLOCK> <blockStates: BLOCK_STATE_ARRAY> [<oldBlockHandling: SETBLOCKMODE>]
3/setblock <position: POSITION> <tileName: BLOCK> [<oldBlockHandling: SETBLOCKMODE>]

See also

Extracted from Minecraft Bedrock 1.26.70.21 — Mojang’s own published sample packs. 9Minecraft is not affiliated with Mojang or Microsoft.

/setblock
Identifier/setblock
DescriptionChanges a block to another block.
Permission level1
Requires cheatsYes