Minecraft : Setblock Command Generator

Update 2.41, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.

Setblock Command Generator

A Minecraft creative command tool to for the setblock command. With preloaded options for block states to alter appears for blocks that have variations. This allows for options like stair orientations, crop growth phases, and door alignments. The command places blocks within the Minecraft environment much like a player, but with the capability to establish predetermined appearances that would typically necessitate in-world interaction.

Temporary States

Some block states only work under certain conditions. For some states require blocks next to them or certain conditions to stay active. Notably, fences and walls have directions that can be set but will only stay if another block is next to it. Likewise stairs can be set direction (facing) and upside down, but when shape is set it will reset unless another set of stairs is next to it.

Crops and Bee Hives

The setblock command is useful for setting crop ages, such as potatoes crops and beetroot crops. You can also set honey levels in bee nests and bee hives.

Block Orientations

The command block stats can set various wood log directions. Trapdoor states, if doors are already open. Set which way many blocks are facing, such as bee hives. The list goes on.

Minecraft Versions Permalinks

If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.

Version History

13 Aug 2026
minecraft/command-generator 2.41

addedUUID converter
patchFix for issue with items not re-encoding correctly for items, trades and containers
patchTrades for 1.20.4 and earlier now auto add Count if missing

6 Aug 2026
minecraft/command-generator 2.40

addedRefactored code base internally
patchSlime and Magma cubes, added isBaby tag
patchSulfur cubes added Size, and isBaby tags

30 Jul 2026
minecraft/command-generator 2.39

addedFull Mob Generator v2 rollout
patchMob spawner command generation


Read version history »
(129 More Updates)