MC CommanderUnofficial Minecraft command tools
Fill Command Generator

Fill Command Generator

Generate /fill commands with coordinates, blocks, replace, keep, hollow, outline, and destroy.

How to use

Set the two corners and the block ID; check the affected area before running /fill.

Basic fallback generator

A simplified form is available while the main generator loads. It does not include every setting in the full tool.

Output

Fill command safety and examples

The fill command can change many blocks at once. Confirm both corners and test on a backup world before using a large area.

Examples and checks
/fill ~-5 ~ ~-5 ~5 ~5 ~5 minecraft:stone
  • Use replace when only certain blocks should change.
  • Very large areas can exceed the command limit.
  • Relative coordinates are useful around a command block.

Using /fill safely

/fill places blocks in the box between two corners. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:stone makes an 11 by 11 floor under you.

The mode at the end decides what happens to existing blocks: replace changes everything, keep only fills air, hollow and outline make a shell, and destroy drops the old blocks as items.

If the command does not work

Step-by-step guides

Related guides