MC Toolkit

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.2 · 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.

Looking for more Minecraft tools?

A suite of client-side generators, viewers and converters — all free, all in your browser.