MCTOOLBOX
MC ToolboxMC TOOLBOX

Minecraft /fill Command Generator

Java Edition /fill for cuboid regions: opposite corners, block + block states, Old Block Handling modes, and optional replace filters with tags.

Command builder

This block has no configurable states in the registry (or is a tag).

Generated command
/fill command

Volume is calculated when both corners use absolute numbers.

Fill regions with the same controls map makers actually use

The /fill command writes one block type between two opposite corners. This tool mirrors the practical workflow: pick the block, set only the states you care about, choose Old Block Handling (mode), and optionally limit which existing blocks are replaced.

Modes follow the Minecraft Wiki for Java Edition: replace, destroy, keep, hollow, outline. When a replace filter is set, the command uses fill … replace <filter> and may append outline, hollow, or destroy.

Block state dropdowns come from the vanilla blockstates registry (plus known fluid/fire properties such as level and age). Leave a property on unset to omit it from the command so the game uses its default.

Searchable block list

Browse 1000+ placeable block ids with display names, the same class of list command generators need for real map work.

Per-block state controls

Selecting lava, fire, stairs, slabs, and similar blocks reveals their properties (level, age, facing, …) with an unset option.

Old Block Handling + replace filter

Mode dropdown for how existing blocks are treated, plus an optional filter block or #tag.

Old Block Handling (modes)

replace - Change every block in the region without drops (default).

destroy - Replace and drop blocks as items.

keep - Only fill air.

hollow - Shell of the new block; interior becomes air.

outline - Shell only; interior unchanged.

outline - Replace the outer layer only, keeping the inside hollow.

Replace filter - Only matching blocks (or #tags) are swapped. Filter states can be set the same way as the place block.

How to use this tool

  1. Set the two opposite corners of the region.
  2. Pick the block to place and set only the states you need.
  3. Choose Old Block Handling (mode). Optionally enable a replace filter.
  4. Copy the command and test it in a creative world first.

/fill FAQ

What does unset mean on a state?

That property is left out of the command. Vanilla then uses the block default for that property.

Why does lava show level?

Fluids use the level block state (0–15). Source lava is level 0. The dropdown comes from the property registry used by this tool.

Can I filter by a block tag?

Yes. Enable the replace filter and type a tag such as #minecraft:base_stone_overworld in the search box, then press Enter.

Is /setblock the same tool?

No. /fill is a region between two corners. Use the separate /setblock generator for a single position.