Minecraft Setblock and Fill Command Generator

A /fill is a /setblock with a second corner and a mode. The mode is what people get wrong: replace overwrites everything, keep only fills air, hollow and outline leave the interior alone. Choose the block, its state and NBT here, then pick the mode deliberately.

  • setblock and fill from one editor
  • Block states and block-entity NBT
  • replace, destroy, keep, hollow and outline modes