Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Biome definition: Difference between revisions

From SAS Gaming Wiki
imported>Jacobsjo
Undo revision 3436551 by Joaololpvp (talk) It makes sense that those are subsections.
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 1: Line 1:
{{For|biome customization in resource packs {{in|be}}|Resource pack#Biomes}}
{{For|biome customization in resource packs {{in|be}}|Resource pack#Biomes}}
[[Minecraft:Biome]]s are stored as [[Minecraft:JSON]] files within a [[Minecraft:data pack]] in the path {{cd|data/<namespace>/worldgen/biome}} {{in|je}} or in a [[Minecraft:behavior pack]] in the folder {{cd|<behavior pack>/biomes}} {{in|be}}.
[[Minecraft:Biome]]s are stored as [[Minecraft:JSON]] files within a data pack in the path {{cd|data/<namespace>/worldgen/biome}} {{in|je}} or in a [[Minecraft:behavior pack]] in the folder {{cd|<behavior pack>/biomes}} {{in|be}}.


== JSON format ==
== JSON format ==
Line 18: Line 18:
*** {{nbt|int|grass_color}}: (optional) Decimal value converted from Hex color to use for grass blocks, short grass, tall grass, ferns, tall ferns, and sugar cane. If not present, the value depends on downfall and temperature.
*** {{nbt|int|grass_color}}: (optional) Decimal value converted from Hex color to use for grass blocks, short grass, tall grass, ferns, tall ferns, and sugar cane. If not present, the value depends on downfall and temperature.
*** {{nbt|string|grass_color_modifier}}: (optional, defaults to none) Can be {{cd|none}}, {{cd|dark_forest}} or {{cd|swamp}}.
*** {{nbt|string|grass_color_modifier}}: (optional, defaults to none) Can be {{cd|none}}, {{cd|dark_forest}} or {{cd|swamp}}.
** {{Nbt|compound|attributes}}: (optional) Map of [[Minecraft:environment attribute]]s that apply when in this biome.
** {{Nbt|compound|attributes}}: (optional) Map of environment attributes that apply when in this biome.
** {{Nbt|string}}{{nbt|compound}}{{nbt|list|carvers}}: {{json_ref|carver|carver definition|tag=1|no_single=1}} (Required, but can be empty)
** {{Nbt|string}}{{nbt|compound}}{{nbt|list|carvers}}: {{json_ref|carver|carver definition|tag=1|no_single=1}} (Required, but can be empty)
** {{nbt|list|features}}: List of generation steps (Can be empty). Usually there are 11 steps, but any amount is possible.
** {{nbt|list|features}}: List of generation steps (Can be empty). Usually there are 11 steps, but any amount is possible.
*** {{Nbt|string}}{{nbt|compound}}{{nbt|list}} each entry of the list: {{json ref|placed feature|tag=1|inline=1|no_single=1}} &mdash; Features to place during that generation step. The same placed features in the same step in two biomes cannot be in different orders. In each step, all feature IDs need to be ordered consistently across biomes. For example, in the UNDERGROUND_ORES step of minecraft:plains, ore_dirt is before ore_gravel. In other biomes' UNDERGROUND_ORES step, if both ore_dirt and ore_gravel as present, ore_gravel cannot be before ore_dirt.
*** {{Nbt|string}}{{nbt|compound}}{{nbt|list}} each entry of the list: {{json ref|placed feature|tag=1|inline=1|no_single=1}} &mdash; Features to place during that generation step. The same placed features in the same step in two biomes cannot be in different orders. In each step, all feature IDs need to be ordered consistently across biomes. For example, in the UNDERGROUND_ORES step of minecraft:plains, ore_dirt is before ore_gravel. In other biomes' UNDERGROUND_ORES step, if both ore_dirt and ore_gravel as present, ore_gravel cannot be before ore_dirt.
**; These generation steps are also referred to by name for [[Minecraft:Structure/JSON format|structure]] generation. They are, in order<nowiki>:</nowiki>
**; These generation steps are also referred to by name for structure generation. They are, in order<nowiki>:</nowiki>
*** {{cd|RAW_GENERATION}}: Used by small end island features in vanilla.
*** {{cd|RAW_GENERATION}}: Used by small end island features in vanilla.
*** {{cd|LAKES}}: Used by lava lakes in vanilla.
*** {{cd|LAKES}}: Used by lava lakes in vanilla.
Line 54: Line 54:
<div class=treeview>
<div class=treeview>
* {{nbt|compound}}: The root object.
* {{nbt|compound}}: The root object.
** {{nbt|string|format_version}}: The format version of the file. This is a string representing a {{BE}} version. It is recommended to use the latest version. For 26.0 and later, add a leading 1. For example: {{cd|"1.26.0"}} for [[Minecraft:26.0]]. Preview versions should use the version that it is a preview for (Example: [[Minecraft:Preview 26.0.27]] would be {{cd|"1.26.0"}}).
** {{nbt|string|format_version}}: The format version of the file. This is a string representing a {{BE}} version. It is recommended to use the latest version. For 26.0 and later, add a leading 1. For example: {{cd|"1.26.0"}} for 26.0. Preview versions should use the version that it is a preview for (Example: Preview 26.0.27 would be {{cd|"1.26.0"}}).
** {{nbt|compound|minecraft:biome}}: The biome definition.
** {{nbt|compound|minecraft:biome}}: The biome definition.
*** {{nbt|compound|description}}
*** {{nbt|compound|description}}
**** {{nbt|string|identitfier}}: A [[Minecraft:namespaced identifier]] for the biome.
**** {{nbt|string|identitfier}}: A namespaced identifier for the biome.
*** {{nbt|compound|components}}: Components used to define the biome's generation.
*** {{nbt|compound|components}}: Components used to define the biome's generation.
**** {{nbt|compound|minecraft:climate}}: Defines the climate properties of the biome.
**** {{nbt|compound|minecraft:climate}}: Defines the climate properties of the biome.
***** {{nbt|float|downfall}}: How much precipitation affects colors and block changes. If set to 0, [[Minecraft:rain]] will not fall.
***** {{nbt|float|downfall}}: How much precipitation affects colors and block changes. If set to 0, rain will not fall.
***** {{nbt|list|snow_accumulation}}: Minimum and maximum snow level. 0.125 is one [[Minecraft:snow layer]].
***** {{nbt|list|snow_accumulation}}: Minimum and maximum snow level. 0.125 is one snow layer.
***** {{nbt|float|temperature}}: {{More info}}
***** {{nbt|float|temperature}}: {{More info}}
**** {{nbt|compound|minecraft:creature_spawn_probability}}
**** {{nbt|compound|minecraft:creature_spawn_probability}}
Line 242: Line 242:
|{{HistoryLine||1.21.111|dev=Preview 1.21.110.20|exp=Custom biomes|Added {{cd|max_puddle_depth_below_sea_level}} to the {{cd|surface_builder}} biome component for the swamp builder type. The component will set the search depth for how far below sea level to search for a surface to add a puddle.|Removed support for loading custom biomes for base game versions 1.21.100 and below.}}
|{{HistoryLine||1.21.111|dev=Preview 1.21.110.20|exp=Custom biomes|Added {{cd|max_puddle_depth_below_sea_level}} to the {{cd|surface_builder}} biome component for the swamp builder type. The component will set the search depth for how far below sea level to search for a surface to add a puddle.|Removed support for loading custom biomes for base game versions 1.21.100 and below.}}
|{{HistoryLine||1.21.111|dev=Preview 1.21.110.25|Custom biomes were released from experimental.}}
|{{HistoryLine||1.21.111|dev=Preview 1.21.110.25|Custom biomes were released from experimental.}}
|{{HistoryLine||26.0|dev=Preview 26.0.25|Added {{cd|minecraft:village_type}} biome component that determines the type of the [[Minecraft:village]] in the biome. This also allows for the generation of villages in the biome; not using this component means the village will never be generated in the biome.|Enabled the Biome Replacement feature in the [[Minecraft:Nether]], however, currently it doesn't work as well as it should.}}
|{{HistoryLine||26.0|dev=Preview 26.0.25|Added {{cd|minecraft:village_type}} biome component that determines the type of the village in the biome. This also allows for the generation of villages in the biome; not using this component means the village will never be generated in the biome.|Enabled the Biome Replacement feature in the Nether, however, currently it doesn't work as well as it should.}}
}}
}}


Line 257: Line 257:
[[Category:Java Edition]]
[[Category:Java Edition]]


[[Minecraft:de:Biomdefinition]]
de:Biomdefinition
[[Minecraft:fr:Définition de biome]]
fr:Définition de biome
[[Minecraft:ja:バイオームのカスタマイズ]]
ja:バイオームのカスタマイズ
[[Minecraft:pt:Definição de biomas]]
pt:Definição de biomas
[[Minecraft:uk:Визначення біому]]
uk:Визначення біому
[[Minecraft:zh:生物群系定义格式]]
zh:生物群系定义格式

Revision as of 15:39, 9 April 2026

Template:For Minecraft:Biomes are stored as Minecraft:JSON files within a data pack in the path Template:Cd Template:In or in a Minecraft:behavior pack in the folder Template:Cd Template:In.

JSON format

Java Edition

  • Template:Nbt: The root object.
    • Template:Nbt: Determines whether or not the biome has precipitation.
    • Template:Nbt: Controls gameplay features like grass and foliage color, and a height adjusted temperature (which controls whether raining or snowing occurs if Template:Nbt is Template:Cd, and generation details of some features).
    • Template:Nbt: (optional, defaults to none) Either Template:Cd or Template:Cd. Modifies temperature before calculating the height adjusted temperature. If Template:Cd, makes some places' temperature high enough to rain (0.2).
    • Template:Nbt: Controls grass and foliage color.
    • Template:Nbt: Ambient effects in this biome.
      • Template:Nbt: (Required, but the normal value is 4159204) Decimal value converted from Hex color to use for water blocks and cauldrons.
      • Template:Nbt: (optional) Decimal value converted from Hex color to use for tree leaves and vines. If not present, the value depends on downfall and the temperature.
      • Template:Nbt: (optional) Decimal value converted from Hex color to use for leaf litter.
      • Template:Nbt: (optional) Decimal value converted from Hex color to use for grass blocks, short grass, tall grass, ferns, tall ferns, and sugar cane. If not present, the value depends on downfall and temperature.
      • Template:Nbt: (optional, defaults to none) Can be Template:Cd, Template:Cd or Template:Cd.
    • Template:Nbt: (optional) Map of environment attributes that apply when in this biome.
    • Template:NbtTemplate:NbtTemplate:Nbt: Template:Json ref (Required, but can be empty)
    • Template:Nbt: List of generation steps (Can be empty). Usually there are 11 steps, but any amount is possible.
      • Template:NbtTemplate:NbtTemplate:Nbt each entry of the list: Template:Json ref — Features to place during that generation step. The same placed features in the same step in two biomes cannot be in different orders. In each step, all feature IDs need to be ordered consistently across biomes. For example, in the UNDERGROUND_ORES step of minecraft:plains, ore_dirt is before ore_gravel. In other biomes' UNDERGROUND_ORES step, if both ore_dirt and ore_gravel as present, ore_gravel cannot be before ore_dirt.
      These generation steps are also referred to by name for structure generation. They are, in order:
      • Template:Cd: Used by small end island features in vanilla.
      • Template:Cd: Used by lava lakes in vanilla.
      • Template:Cd: Used for amethyst geodes and icebergs in vanilla.
      • Template:Cd: Used for dungeons and overworld fossils in vanilla.
      • Template:Cd: Used for desert wells and blue ice patches in vanilla.
      • Template:Cd: Not used for features in vanilla.
      • Template:Cd: Used for overworld ore blobs, overworld dirt/gravel/stone variant blobs, and sand/gravel/clay disks in vanilla.
      • Template:Cd: Used for infested block blobs, nether gravel and blackstone blobs, and all nether ore blobs in vanilla.
      • Template:Cd: Used for water and lava springs in vanilla.
      • Template:Cd: Used for trees, bamboo, cacti, kelp, and other ground and ocean vegetation in vanilla.
      • Template:Cd: Used for surface freezing in vanilla.
    • Template:Nbt: (optional) Higher value results in more creatures spawned in world generation. Must be between 0.0 and 0.9999999 (both inclusive).
    • Template:Nbt: (Required, but can be empty. If this object doesn't contain a certain category, mobs in this category do not spawn.) Entity spawning settings.
    • Template:Nbt: (Required, but can be empty. Only mobs listed here use the spawn cost mechanism) See Template:Slink for details.

Template:Calculator

Bedrock Edition

Template:WIP

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

External links

References

<references/>

Navigation

Template:Navbox Java Edition technical Template:Navbox Bedrock Edition

de:Biomdefinition fr:Définition de biome ja:バイオームのカスタマイズ pt:Definição de biomas uk:Визначення біому zh:生物群系定义格式