MC Toolkit / Commands / World & Blocks Command Builder / Setblock Command Generator
Setblock Command Generator
Build a /setblock command with coordinates, optional block states like facing=north, and replace/destroy/keep mode — copy-paste ready for Java Edition.
5 argument paths · Minecraft 26.3 · from Mojang's own command tree
/setblock <pos> <block>/setblock <pos> <block> destroy/setblock <pos> <block> keep/setblock <pos> <block> replace/setblock <pos> <block> strict
Run these from an operator's chat, a command block, or the server console.