/fillbiome

This feature is exclusive to Java Edition.
 
/fillbiome
Permission level
required

2

Restrictions

None

Fills a specified area of a region with a specific biome.

Usage

Because biomes in a world are stored in cells of 4×4×4 blocks, this command is applied on each selected cell instead of each block.

Although biomes are stored in cells, biome boundaries are slightly fiddled with to make them smooth. So the shape of the region whose biome is actually changed is irregular.

The command only changes the biome, but not the blocks in it. For example, changing a forest to a desert with this command does not change the grass blocks to sand and does not plant cacti, but rabbits spawn in the new "desert" that still looks like a forest.

Syntax

/fillbiome <from> <to> <biome>

The fillbiome command also has an optional alternate syntax when using the replace option:

/fillbiome <from> <to> <biome> replace <filter>

Arguments

<from>: block_pos and <to>: block_pos

The two corners to fill the biome between.
Must be a block position composed of <X>, <Y> and <Z>, each of which must be an integer or a tilde and caret notation.

<biome>: resource

Specifies the biome to fill the specified area with. See Biome § Biome IDs for a list of vanilla biome IDs.
Must be an existing registered resource location in minecraft:worldgen/biome registry.

<filter>: resource_or_tag

Specifies the biomes in the fill region to be replaced. If not specified, replaces all biomes in the fill region.
Must be an existing registered resource location or tag in minecraft:worldgen/biome registry.

Result

CommandTriggerJava Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
The specified region is unloaded or out of the world. Failed
The volume of the specified region is greater than commandModificationBlockLimit gamerule.
OtherwiseSuccessful

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
AnyJava EditionOn fail000
On success11the number of cells whose biomes are replaced

History

Java Edition
1.19.322w46aAdded fillbiome.
Pre-release 1/fillbiome now supports a filtered form.
1.19.423w03aNow the limit volume of the source region is controlled by commandModificationBlockLimit gamerule, instead of a hardcoded value 32768.

Navigation