Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Calculators/fill and /clone

Switch game

23 Wikis · pick your game
Fill and Clone Helper

Generator

Fill and Clone Helper

Work out a /fill or /clone from two corners: the size, whether it fits the game's block limit, and commands that do a bigger job in pieces.

  1. Type the two corners
  2. Pick the block and how to fill
  3. Copy the commands
Command
First corner
Opposite corner
What it does

In the game

Size
11 × 5 × 11
Blocks in the box
605

Fits in one command.

Command

/fill ~-5 ~ ~-5 ~5 ~4 ~5 stone

30 characters

For Java Edition 26.3. Every form this tool writes was run through the game's own command parser.

What /fill changes

replaceEvery block in the box; with a block or #tag filter only those
keepOnly air blocks
outlineOnly the outer shell; the inside stays as it is
hollowThe outer shell, and air inside
destroyEvery block, breaking the old ones as if mined so they drop

What /clone copies and how

replaceEvery block of the source
maskedEvery block but air
filteredOnly the blocks a block or #tag names
normalCopies; refused if the source and destination overlap
forceCopies even when they overlap
moveCopies, then fills the source with air

Build height

overworld-64319
the_nether0255
the_end0255

How the game works it out

Block limit32768 blocks per command, from the game rule max_block_modifications; a world can raise it
Whole box countsThe limit counts every block of the box, also for hollow, outline and keep that change fewer
SplittingA bigger job works as several commands of at most the limit each; the helper splits hollow into the six faces and the air inside
Loaded chunksEvery block of the box has to be in a loaded chunk, or the command fails
strictSets the blocks without updating the blocks around them
Checked in the gameEvery split job was compared block for block with the same job as one command
Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)