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

/setblock

minecraft command

The /setblock command in Minecraft 26.4-snapshot-5, with every argument branch the game accepts.

Syntax (4 branches)

/setblock <pos> <block> destroy
/setblock <pos> <block> keep
/setblock <pos> <block> replace
/setblock <pos> <block> strict

Extracted from Minecraft 26.4-snapshot-5 on 22 October 2026. 9Minecraft is not affiliated with Mojang or Microsoft.