Minecraft:Commands/fillbiome: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{ | {{MC/Exclusive|java}} | ||
{{Infobox command | {{Infobox command | ||
|name=fillbiome | |name=fillbiome | ||
| Line 27: | Line 27: | ||
== Arguments == | == Arguments == | ||
{{ | {{MC/Argument|from|block_pos}} and {{MC/Argument|to|block_pos}} | ||
: The two corners to fill the biome between. | : The two corners to fill the biome between. | ||
: {{ | : {{MC/Arg desc|je=block_pos}} | ||
{{ | {{MC/Argument|biome|resource}} | ||
: Specifies the biome to fill the specified area with. See {{slink|Biome|Biome IDs}} for a list of vanilla biome IDs. | : Specifies the biome to fill the specified area with. See {{slink|Biome|Biome IDs}} for a list of vanilla biome IDs. | ||
: {{ | : {{MC/Arg desc|je=resource|registry=minecraft:worldgen/biome}} | ||
{{ | {{MC/Argument|filter|resource_or_tag}} | ||
: Specifies the biomes in the fill region to be replaced. If not specified, replaces all biomes in the fill region. | : Specifies the biomes in the fill region to be replaced. If not specified, replaces all biomes in the fill region. | ||
: {{ | : {{MC/Arg desc|je=resource_or_tag|registry=minecraft:worldgen/biome}} | ||
==Result== | ==Result== | ||
| Line 50: | Line 50: | ||
== Output == | == Output == | ||
{{Output table}} | {{MC/Output table}} | ||
{{Output table|edition=je|On fail|0|0|0}} | {{MC/Output table|edition=je|On fail|0|0|0}} | ||
{{Output table|On success|1|1|the number of cells whose biomes are replaced}} | {{MC/Output table|On success|1|1|the number of cells whose biomes are replaced}} | ||
{{Output table}} | {{MC/Output table}} | ||
== History == | == History == | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.19.3|dev=22w46a|Added {{ | |{{HistoryLine||1.19.3|dev=22w46a|Added {{MC/Cd|fillbiome}}.}} | ||
|{{HistoryLine|||dev=Pre-release 1|<code>/fillbiome</code> now supports a filtered form.}} | |{{MC/HistoryLine|||dev=Pre-release 1|<code>/fillbiome</code> now supports a filtered form.}} | ||
|{{HistoryLine||1.19.4|dev=23w03a|Now the limit volume of the source region is controlled by <code>commandModificationBlockLimit</code> gamerule, instead of a hardcoded value 32768.}} | |{{MC/HistoryLine||1.19.4|dev=23w03a|Now the limit volume of the source region is controlled by <code>commandModificationBlockLimit</code> gamerule, instead of a hardcoded value 32768.}} | ||
}} | }} | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
[[Category:Commands]] | [[Category:Commands]] | ||
Latest revision as of 20:09, 9 April 2026
Script error: No such module "Exclusive". Template:Infobox command
Fills a specified area of a region with a specific Minecraft: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.
-
This command is used to attempt to change the biome between the two stone blocks to desert.
-
As shown here, the biome changes are not applied at the exact coordinates specified.
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 Minecraft:sand and does not plant cacti, but rabbits spawn in the new "desert" that still looks like a forest. Also, the grass color will change and mobs like snow golems will die.
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.
- {{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|block_pos}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
<biome>: resource
- Specifies the biome to fill the specified area with. See Template:Slink for a list of vanilla biome IDs.
- {{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|resource}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
<filter>: resource_or_tag
- Specifies the biomes in the fill region to be replaced. If not specified, replaces all biomes in the fill region.
- {{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|resource_or_tag}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|0}}{{#vardefine:output3-{{#var:output-table-lines}}|0}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|je}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|the number of cells whose biomes are replaced}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
History
de:Befehl/fillbiome es:Comandos/fillbiome ja:コマンド/fillbiome pt:Comandos/fillbiome ru:Команды консоли/fillbiome zh:命令/fillbiome