Minecraft:Biome definition: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{For|biome customization in resource packs {{ | {{For|biome customization in resource packs {{in|be}}|Resource pack#Biomes}} | ||
[[Minecraft:Biome]]s are stored as [[Minecraft:JSON]] files within a data pack in the path {{ | [[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}}. | ||
== JSON format == | == JSON format == | ||
| Line 7: | Line 7: | ||
<div class="treeview"> | <div class="treeview"> | ||
* {{ | * {{nbt|compound}}: The root object. | ||
**{{ | **{{nbt|boolean|has_precipitation}}: Determines whether or not the biome has precipitation. | ||
**{{ | **{{nbt|float|temperature}}: Controls gameplay features like grass and foliage color, and a height adjusted temperature (which controls whether raining or snowing occurs if {{nbt|boolean|has_precipitation}} is {{cd|true}}, and generation details of some features). | ||
** {{ | ** {{nbt|string|temperature_modifier}}: (optional, defaults to none) Either {{cd|none}} or {{cd|frozen}}. Modifies temperature before calculating the height adjusted temperature. If {{cd|frozen}}, makes some places' temperature high enough to rain (0.2). | ||
** {{ | ** {{nbt|float|downfall}}: Controls grass and foliage color. | ||
** {{ | ** {{nbt|compound|effects}}: Ambient effects in this biome. | ||
*** {{ | *** {{nbt|int|water_color}}: (Required, but the normal value is 4159204) Decimal value converted from Hex color to use for water blocks and cauldrons. | ||
*** {{ | *** {{nbt|int|foliage_color}}: (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. | ||
*** {{ | *** {{nbt|int|dry_foliage_color}}: (optional) Decimal value converted from Hex color to use for leaf litter. | ||
*** {{ | *** {{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|compound|attributes}}: (optional) Map of [[Minecraft:environment attribute]]s 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|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}} — 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<nowiki>:</nowiki> | **; These generation steps are also referred to by name for [[Minecraft:Structure/JSON format|structure]] generation. They are, in order<nowiki>:</nowiki> | ||
*** {{ | *** {{cd|RAW_GENERATION}}: Used by small end island features in vanilla. | ||
*** {{ | *** {{cd|LAKES}}: Used by lava lakes in vanilla. | ||
*** {{ | *** {{cd|LOCAL_MODIFICATIONS}}: Used for amethyst geodes and icebergs in vanilla. | ||
*** {{ | *** {{cd|UNDERGROUND_STRUCTURES}}: Used for dungeons and overworld fossils in vanilla. | ||
*** {{ | *** {{cd|SURFACE_STRUCTURES}}: Used for desert wells and blue ice patches in vanilla. | ||
*** {{ | *** {{cd|STRONGHOLDS}}: Not used for features in vanilla. | ||
*** {{ | *** {{cd|UNDERGROUND_ORES}}: Used for overworld ore blobs, overworld dirt/gravel/stone variant blobs, and sand/gravel/clay disks in vanilla. | ||
*** {{ | *** {{cd|UNDERGROUND_DECORATION}}: Used for infested block blobs, nether gravel and blackstone blobs, and all nether ore blobs in vanilla. | ||
*** {{ | *** {{cd|FLUID_SPRINGS}}: Used for water and lava springs in vanilla. | ||
*** {{ | *** {{cd|VEGETAL_DECORATION}}: Used for trees, bamboo, cacti, kelp, and other ground and ocean vegetation in vanilla. | ||
*** {{ | *** {{cd|TOP_LAYER_MODIFICATION}}: Used for surface freezing in vanilla. | ||
** {{ | ** {{nbt|float|creature_spawn_probability}}: (optional) Higher value results in more creatures spawned in world generation. Must be between 0.0 and 0.9999999 (both inclusive). | ||
** {{ | ** {{nbt|compound|spawners}}: (Required, but can be empty. If this object doesn't contain a certain category, mobs in this category do not spawn.) Entity spawning settings. | ||
*** {{ | *** {{nbt|list|<mob category>}}: (Can be empty. If empty, mobs in this category do not spawn.) The key must be one of {{cd|monster}}, {{cd|creature}}, {{cd|ambient}}, {{cd|water_creature}}, {{cd|underground_water_creature}}, {{cd|water_ambient}}, {{cd|misc}}, or {{cd|axolotls}}. A list of spawner data objects, one for each mob which should spawn in this biome. | ||
**** {{ | **** {{nbt|compound}}: The spawner data for a single mob. | ||
***** {{ | ***** {{nbt|string|type}}: The namespaced entity id of the mob. | ||
***** {{ | ***** {{nbt|int|weight}}: How often this mob should spawn, higher values produce more spawns. | ||
***** {{ | ***** {{nbt|int|minCount}}: The minimum count of mobs to spawn in a pack. Must be greater than 0. | ||
***** {{ | ***** {{nbt|int|maxCount}}: The maximum count of mobs to spawn in a pack. Must be greater than 0. And must be not less than {{nbt|int|minCount}}. | ||
** {{ | ** {{nbt|compound|spawn_costs}}: (Required, but can be empty. Only mobs listed here use the spawn cost mechanism) See {{slink|Mob spawning|Spawn costs}} for details. | ||
*** {{ | *** {{nbt|compound|<entity id>}}: The namespaced entity id of the mob. | ||
**** {{ | **** {{nbt|double|energy_budget}}: New mob's maximum potential. | ||
**** {{ | **** {{nbt|double|charge}}: New mob's charge. | ||
</div> | </div> | ||
| Line 51: | Line 51: | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{ | {{WIP|section=1}} | ||
<div class=treeview> | <div class=treeview> | ||
* {{ | * {{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|compound|minecraft:biome}}: The biome definition. | ||
*** {{ | *** {{nbt|compound|description}} | ||
**** {{ | **** {{nbt|string|identitfier}}: A [[Minecraft:namespaced identifier]] for the biome. | ||
*** {{ | *** {{nbt|compound|components}}: Components used to define the biome's generation. | ||
**** {{ | **** {{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|list|snow_accumulation}}: Minimum and maximum snow level. 0.125 is one [[Minecraft:snow layer]]. | ||
***** {{ | ***** {{nbt|float|temperature}}: {{More info}} | ||
**** {{ | **** {{nbt|compound|minecraft:creature_spawn_probability}} | ||
***** {{ | ***** {{nbt|float|probability}}: Chance of creatures spawning when the chunk is generated. Must be ≤0.75. | ||
**** {{ | **** {{nbt|compound|minecraft:humidity}} | ||
***** {{ | ***** {{nbt|boolean|is_humid}}: Whether or not the biome is humid. | ||
**** {{ | **** {{nbt|compound|minecraft:map_tints}} | ||
***** {{ | ***** {{nbt|list}}{{nbt|string|foliage}}: The color foliage will be tinted by on a [[Minecraft:map]] in this biome for example {{cd|#6a7039}}. | ||
***** {{ | ***** {{nbt|compound|grass}}: The color grass will be tinted by on a [[Minecraft:map]] in this biome. | ||
****** {{ | ****** {{nbt|string|type}}: It could be {{cd|noise}} or {{cd|tint}}. | ||
****** {{ | ****** {{nbt|string|tint}}: Available only if the type is tint, it is used to define the fixed color of the grass on the map, for example {{cd|#aea42a}}. | ||
**** {{ | **** {{nbt|compound|minecraft:mountain_parameters}}: Parameters used to drive mountain terrain generation in the [[Minecraft:overworld]]. | ||
***** {{ | ***** {{nbt|boolean|east_slopes}}: Whether to have east-facing slopes. | ||
***** {{ | ***** {{nbt|boolean|west_slopes}}: Whether to have west-facing slopes. | ||
***** {{ | ***** {{nbt|boolean|north_slopes}}: Whether to have north-facing slopes. | ||
***** {{ | ***** {{nbt|boolean|south_slopes}}: Whether to have south-facing slopes. | ||
***** {{ | ***** {{nbt|compound|material}}: Block to use as steep material. | ||
****** {{ | ****** {{nbt|string|name}}: [[Minecraft:Identifier]] of the block. | ||
****** {{ | ****** {{nbt|compound|states}}: Block states for the block. | ||
***** {{ | ***** {{nbt|compound|top_slide}}: Controls the density tapering that happens at the top of the world to prevent terrain from reaching too high. | ||
****** {{ | ****** {{nbt|boolean|enabled}} | ||
***** {{ | ***** {{nbt|compound|steep_material_adjustment}}: Defines surface material for steep slopes. | ||
****** {{ | ****** {{nbt|boolean|east_slopes}}: Whether to have east-facing slopes. | ||
****** {{ | ****** {{nbt|boolean|west_slopes}}: Whether to have west-facing slopes. | ||
****** {{ | ****** {{nbt|boolean|north_slopes}}: Whether to have north-facing slopes. | ||
****** {{ | ****** {{nbt|boolean|south_slopes}}: Whether to have south-facing slopes. | ||
****** {{ | ****** {{nbt|compound|material}}: Block to use as steep material. | ||
******* {{ | ******* {{nbt|string|name}}: [[Minecraft:Identifier]] of the block. | ||
******* {{ | ******* {{nbt|compound|states}}: Block states for the block. | ||
**** {{ | **** {{nbt|compound|minecraft:overworld_height}}: ''Currently only affects map items.'' Specifies the noise parameters used to drive terrain height. | ||
***** {{ | ***** {{nbt|list|noise_params}}: 2 values, first is depth, and the second is scale. | ||
***** {{ | ***** {{nbt|string|noise_type}}: Uses a built-in preset instead of specifying values. Available presets are: <div class="collapsible collapsed collapsetoggle-inline"> | ||
****** {{ | ****** {{cd|d=*|list-level=******|beach|deep_ocean|default|default_mutated|extreme|highlands|less_extreme|lowlands|mountains|mushroom|ocean|river|stone_beach|swamp|taiga}}</div> | ||
***** {{ | ***** {{nbt|compound|minecraft:replace_biomes}}: Allows this biome to replace parts of one or more [[Minecraft:biome#List of biomes|vanilla biomes]]. | ||
****** {{ | ****** {{nbt|list|replacements}}: The list of replacements | ||
******* {{ | ******* {{nbt|compound}}: ''An replacement'' | ||
******** {{ | ******** {{nbt|float|amount}}: Chance that the replacement is attempted. Must be >0.0 and ≤1.0. | ||
******** {{ | ******** {{nbt|string|dimension}}: The dimension in which this replacement can occur. Can be either {{cd|d=or|minecraft:overworld|minecraft:nether}}. | ||
******** {{ | ******** {{nbt|float|noise_frequency_scale}}: Scale to alter the frequency of replacements. Lower values make bigger areas that are less common, and higher values make smaller areas that are more common. Must be >0.0 and ≤100.0. | ||
******** {{ | ******** {{nbt|list|targets}}: The biomes that can be replaced. | ||
********* {{ | ********* {{nbt|string}}: A biome ID ''without'' the namespace. | ||
***** {{ | ***** {{nbt|compound|minecraft:surface_builder}} | ||
****** {{ | ****** {{nbt|compound|builder}}: Controls the blocks used for terrain generation. | ||
******* {{ | ******* {{nbt|string|type}}: The type of surface builder. Can be {{cd|d=or|minecraft:capped|minecraft:frozen_ocean|minecraft:mesa|minecraft:overworld|minecraft:swamp|minecraft:the_end}}. | ||
*******; If <code>type</code> is <code>minecraft:capped</code><nowiki>:</nowiki> | *******; If <code>type</code> is <code>minecraft:capped</code><nowiki>:</nowiki> | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|beach_material}}: Material used near sea level. | ||
******** {{ | ******** {{nbt|string|name}}: [[Minecraft:Identifier]] of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|ceiling_materials}}: Material used for the surface ceiling. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|floor_materials}}: Material used for the surface floor. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|foundation_material}}: Material used to replace solid blocks that are not surface blocks. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|sea_material}}: Material used to replace air below sea level. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
*******; If <code>type</code> is <code>minecraft:frozen_ocean</code> or <code>minecraft:overworld</code><nowiki>:</nowiki> | *******; If <code>type</code> is <code>minecraft:frozen_ocean</code> or <code>minecraft:overworld</code><nowiki>:</nowiki> | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|foundation_material}}: Material used to replace solid blocks that are not surface blocks. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|mid_material}}: Material used a layer below the surface of the biome. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|integer|sea_floor_depth}}: How deep below sea level the sea floor should be. Must be ≤127. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|sea_floor_material}}: Material used as a floor for bodies of water. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|sea_material}}: Material used to replace air below sea level. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|top_material}}: Material used for the surface of the biome. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
*******; If <code>type</code> is <code>minecraft:mesa</code><nowiki>:</nowiki> | *******; If <code>type</code> is <code>minecraft:mesa</code><nowiki>:</nowiki> | ||
******* {{ | ******* {{nbt|boolean|bryce_pillars}}: Whether the mesa generates with pillars. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|clay_material}}: Base clay material. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|foundation_material}}: Material used to replace solid blocks that are not surface blocks. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|hard_clay_material}}: Hardened clay material. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|boolean|has_forest}}: Adds coarse dirt and grass at high altitudes. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|mid_material}}: Material used a layer below the surface of the biome. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|integer|sea_floor_depth}}: How deep below sea level the sea floor should be. Must be ≤127. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|sea_floor_material}}: Material used as a floor for bodies of water. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|sea_material}}: Material used to replace air below sea level. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|top_material}}: Material used for the surface of the biome. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
*******; If <code>type</code> is <code>minecraft:swamp</code><nowiki>:</nowiki> | *******; If <code>type</code> is <code>minecraft:swamp</code><nowiki>:</nowiki> | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|foundation_material}}: Material used to replace solid blocks that are not surface blocks. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|integer|max_puddle_depth_below_sea_level}}: The depth at which surface blocks can be replaced with water for puddles. Must be ≤127. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|mid_material}}: Material used a layer below the surface of the biome. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|integer|sea_floor_depth}}: How deep below sea level the sea floor should be. Must be ≤127. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|sea_floor_material}}: Material used as a floor for bodies of water. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|sea_material}}: Material used to replace air below sea level. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
******* {{ | ******* {{nbt|compound}}{{nbt|string|top_material}}: Material used for the surface of the biome. | ||
******** {{ | ******** {{nbt|string|name}}: Identifier of the block. | ||
******** {{ | ******** {{nbt|compound|states}}: Block states for the block. | ||
***** {{ | ***** {{nbt|compound|minecraft:surface_material_adjustments}}: Specify fine changes to blocks used in terrain generation. | ||
****** {{ | ****** {{nbt|list|adjustments}} | ||
******* {{ | ******* {{nbt|compound}}: ''An adjustment'' | ||
******** {{ | ******** {{nbt|string}}{{nbt|boolean}}{{nbt|float|height_range}}: {{More info}} | ||
******** {{ | ******** {{nbt|float|noise_frequency_scale}}: The scale to apply to the position when accessing the noise value. | ||
******** {{ | ******** {{nbt|list|noise_range}}: A range of noise values for which this adjustment should be applied. | ||
******** {{ | ******** {{nbt|compound|materials}}: Materials to use when this adjustment is active. | ||
********* {{ | ********* {{nbt|compound}}{{nbt|string|foundation_material}}: Material used to replace solid blocks that are not surface blocks. | ||
********** {{ | ********** {{nbt|string|name}}: [[Minecraft:Identifier]] of the block. | ||
********** {{ | ********** {{nbt|compound|states}}: Block states for the block. | ||
********* {{ | ********* {{nbt|compound}}{{nbt|string|mid_material}}: Material used a layer below the surface of the biome. | ||
********** {{ | ********** {{nbt|string|name}}: Identifier of the block. | ||
********** {{ | ********** {{nbt|compound|states}}: Block states for the block. | ||
********* {{ | ********* {{nbt|compound}}{{nbt|string|sea_floor_material}}: Material used as a floor for bodies of water. | ||
********** {{ | ********** {{nbt|string|name}}: Identifier of the block. | ||
********** {{ | ********** {{nbt|compound|states}}: Block states for the block. | ||
********* {{ | ********* {{nbt|compound}}{{nbt|string|sea_material}}: Material used to replace air below sea level. | ||
********** {{ | ********** {{nbt|string|name}}: Identifier of the block. | ||
********** {{ | ********** {{nbt|compound|states}}: Block states for the block. | ||
********* {{ | ********* {{nbt|compound}}{{nbt|string|top_material}}: Material used for the surface of the biome. | ||
********** {{ | ********** {{nbt|string|name}}: Identifier of the block. | ||
********** {{ | ********** {{nbt|compound|states}}: Block states for the block. | ||
***** {{ | ***** {{nbt|compound|minecraft:tags}} | ||
****** {{ | ****** {{nbt|list|tags}}: [[Minecraft:Biome tag (Bedrock Edition)|Tags]] for the biome. | ||
***** {{ | ***** {{nbt|compound|minecraft:village_type}} | ||
****** {{ | ****** {{nbt|string|type}}: The type of village for this biome. Valid values are {{cd|d=and|default|desert|ice|savanna|taiga}}. | ||
</div> | </div> | ||
| Line 213: | Line 213: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java}} | ||
|{{ | |{{HistoryLine||1.16.2|dev=20w28a|Added experimental support for biomes in data packs.}} | ||
|{{HistoryLine|||dev=20w30a|Added the {{ | |{{HistoryLine|||dev=20w30a|Added the {{cd|grass_color}}, {{cd|foliage_color}}, {{cd|water_color}}, and {{cd|water_fog_color}} effects properties.}} | ||
|{{HistoryLine|||dev=pre2|Added the {{ | |{{HistoryLine|||dev=pre2|Added the {{cd|player_spawn_friendly}} property.}} | ||
|{{HistoryLine||1.19|dev=22w11a|Removed the {{ | |{{HistoryLine||1.19|dev=22w11a|Removed the {{cd|category}} field. Functionality has been moved to biome tags.}} | ||
|{{ | |{{HistoryLine||1.19.3|dev=Pre-release 3|Now when specifying a sound event, a fixed audible range can be also specified within an object.}} | ||
|{{HistoryLine||1.19.4|dev=23w03a|Renamed the {{ | |{{HistoryLine||1.19.4|dev=23w03a|Renamed the {{cd|precipitation}} field to {{cd|has_precipitation}}. And now it is a boolean, and when it is true, whether it rains or snows are determined only by temperature. Before, it can be one of "none", "rain" and "snow".<ref>To fix {{bug|MC-230678}}, {{bug|MC-233893}}, {{bug|MC-238904}}, {{bug|MC-247836}}, {{bug|MC-254132}}, and {{bug|MC-255811}}.</ref>}} | ||
|{{HistoryLine|||dev=Pre-release 1|Now {{ | |{{HistoryLine|||dev=Pre-release 1|Now {{nbt|int|minCount}} and {{nbt|int|maxCount}} in {{nbt|compound|spawners}} must be a positive integer. And {{nbt|int|maxCount}} must be not less than {{nbt|int|minCount}}.}} | ||
|{{ | |{{HistoryLine||1.21.2|dev=24w33a|Carver types have been removed. The carvers field now lists carvers directly instead of having to specify the type.}} | ||
|{{HistoryLine||1.21.4|dev=24w44a|Added {{ | |{{HistoryLine||1.21.4|dev=24w44a|Added {{nbt|float|music_volume}} field to {{nbt|compound|effects}}. | ||
|Changed the {{ | |Changed the {{nbt|list|music}} field to be a weighted list of music objects.}} | ||
|{{HistoryLine||1.21.5|dev=25w08a|Added {{ | |{{HistoryLine||1.21.5|dev=25w08a|Added {{nbt|int|dry_foliage_color}} field to {{nbt|compound|effects}}.}} | ||
|{{HistoryLine||1.21.11|dev=25w42a|Added {{ | |{{HistoryLine||1.21.11|dev=25w42a|Added {{nbt|compound|attributes}} field. | ||
|Removed {{ | |Removed {{nbt|int|fog_color}}, {{nbt|int|sky_color}}, {{nbt|int|water_fog_color}}, {{nbt|compound|particle}}, {{nbt|string}}{{nbt|compound|ambient_sound}}, {{nbt|compound|mood_sound}}, {{nbt|compound|additions_sounds}}, {{nbt|list|music}}, and {{nbt|float|music_volume}} fields in {{nbt|compound|effects}}.}} | ||
|{{HistoryLine|||dev=25w44a|The {{ | |{{HistoryLine|||dev=25w44a|The {{nbt|string}}{{nbt|list}}{{nbt|int|water_color}}, {{nbt|string}}{{nbt|list}}{{nbt|int|foliage_color}}, {{nbt|string}}{{nbt|list}}{{nbt|int|dry_foliage_color}}, and {{nbt|string}}{{nbt|list}}{{nbt|int|grass_color}} fields now accept a hex-string or array of red, green, blue floats in addition to the packed integer value.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{ | |{{HistoryLine||?|Custom biomes were added}} | ||
|{{ | |{{HistoryLine||1.18|Custom biomes have become obsolete and impossible to create due to the world generation change.}} | ||
|{{ | |{{HistoryLine||1.20.60|dev=Preview 1.20.60.24|Biome tags are now specified under an array within the <code>minecraft:tags</code> component rather than as loose JSON objects.}} | ||
|{{HistoryLine||1.21.70|dev=Preview 1.21.70.23|Removed unused experimental json field {{ | |{{HistoryLine||1.21.70|dev=Preview 1.21.70.23|Removed unused experimental json field {{cd|peaks_factor}} from {{cd|minecraft:mountain_parameters}} in the behavior pack biome file.}} | ||
|{{HistoryLine||1.21.80|dev=Preview 1.21.80.27|exp=Custom biomes|Added {{ | |{{HistoryLine||1.21.80|dev=Preview 1.21.80.27|exp=Custom biomes|Added {{cd|minecraft:replace_biomes}} component to allow for custom biomes to replace portions of vanilla biomes. To use, add to custom biome files in behavior packs.}} | ||
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|exp=Custom biomes|Custom biome names are no longer implied by their filenames. Biome names are explicitly specified via the {{ | |{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|exp=Custom biomes|Custom biome names are no longer implied by their filenames. Biome names are explicitly specified via the {{cd|identifier}} property under the {{cd|description}} sub-object of their JSON definition.|Biome identifiers must now be namespaced (ex: {{cd|minecraft:plains}}). Biomes with a format version lower than 1.21.90 will have their identifier automatically prefixed {{cd|minecraft:}} when loaded if no namespace is already specified.}} | ||
|{{HistoryLine|||dev=Preview 1.21.100.22|Added a new server side biome component {{ | |{{HistoryLine|||dev=Preview 1.21.100.22|Added a new server side biome component {{cd|surface_builder}} that will combine the components {{cd|surface_parameters}}, {{cd|frozen_ocean_surface}}, {{cd|mesa_surface}}, {{cd|swamp_surface}}, {{cd|capped_surface}}, and {{cd|the_end_surface}} into one component. Each biome can only use one builder type. The component can be used for world generation settings such as foundation material and sea floor depth.|Added {{cd|minecraft:humidity}} component with {{cd|is_humid}} this forces a biome to either always be humid or never humid. Humidity effects the spread chance, and spread rate of fire in the biome.|Added {{cd|minecraft:partially_frozen}} This component will impact the temperature in a frozen biome, causing some areas to not be frozen. Ex: patchy ice, patchy snow.}} | ||
|{{HistoryLine||1.21.111|dev=Preview 1.21.110.20|exp=Custom biomes|Added {{ | |{{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||26.0|dev=Preview 26.0.25|Added {{ | |{{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.20|dev=Preview 26.20.23|exp=Upcoming Creator Features|Added {{cd|minecraft:subsurface_builder}} biome component to apply surface generation rules below the Overworld's terrain surface. Includes {{cd|minecraft:noise_gradient}} builder type for placing block bands via Perlin noise distribution, with parameters {{cd|non_replaceable_blocks}} and {{cd|gradient_blocks}}.}} | |||
|{{HistoryLine|upcoming bedrock}} | |||
|{{HistoryLine||26.30|dev=Preview 26.30.25|{{cd|minecraft:subsurface_builder}} and its {{cd|minecraft:noise_gradient}} type are now stable and no longer require experimental features. Requires {{cd|format_version}} 1.26.30 or higher.}} | |||
}} | }} | ||
| Line 252: | Line 255: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox Java Edition technical|datapack}} | ||
{{ | {{Navbox Bedrock Edition}} | ||
[[Category:Java Edition]] | [[Category:Java Edition]] | ||
de:Biomdefinition | [[Minecraft:de:Biomdefinition]] | ||
fr:Définition de biome | [[Minecraft:fr:Définition de biome]] | ||
ja:バイオームのカスタマイズ | [[Minecraft:ja:バイオームのカスタマイズ]] | ||
pt:Definição de biomas | [[Minecraft:pt:Definição de biomas]] | ||
uk:Визначення біому | [[Minecraft:uk:Визначення біому]] | ||
zh:生物群系定义格式 | [[Minecraft:zh:生物群系定义格式]] | ||
Revision as of 11:03, 16 May 2026
Template:For Minecraft:Biomes are stored as Minecraft:JSON files within a Minecraft: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 Minecraft: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: (Can be empty. If empty, mobs in this category do not spawn.) The key must be one of Template:Cd, Template:Cd, Template:Cd, Template:Cd, Template:Cd, Template:Cd, Template:Cd, or Template:Cd. A list of spawner data objects, one for each mob which should spawn in this biome.
- Template:Nbt: The spawner data for a single mob.
- Template:Nbt: The namespaced entity id of the mob.
- Template:Nbt: How often this mob should spawn, higher values produce more spawns.
- Template:Nbt: The minimum count of mobs to spawn in a pack. Must be greater than 0.
- Template:Nbt: The maximum count of mobs to spawn in a pack. Must be greater than 0. And must be not less than Template:Nbt.
- Template:Nbt: The spawner data for a single mob.
- Template:Nbt: (Can be empty. If empty, mobs in this category do not spawn.) The key must be one of Template:Cd, Template:Cd, Template:Cd, Template:Cd, Template:Cd, Template:Cd, Template:Cd, or Template:Cd. A list of spawner data objects, one for each mob which should spawn in this biome.
- Template:Nbt: (Required, but can be empty. Only mobs listed here use the spawn cost mechanism) See Template:Slink for details.
- Template:Nbt: The namespaced entity id of the mob.
- Template:Nbt: New mob's maximum potential.
- Template:Nbt: New mob's charge.
- Template:Nbt: The namespaced entity id of the mob.
Bedrock Edition
- Template:Nbt: The root object.
- Template:Nbt: The format version of the file. This is a string representing a Template:BE version. It is recommended to use the latest version. For 26.0 and later, add a leading 1. For example: Template:Cd for Minecraft:26.0. Preview versions should use the version that it is a preview for (Example: Minecraft:Preview 26.0.27 would be Template:Cd).
- Template:Nbt: The biome definition.
- Template:Nbt
- Template:Nbt: A Minecraft:namespaced identifier for the biome.
- Template:Nbt: Components used to define the biome's generation.
- Template:Nbt: Defines the climate properties of the biome.
- Template:Nbt: How much precipitation affects colors and block changes. If set to 0, Minecraft:rain will not fall.
- Template:Nbt: Minimum and maximum snow level. 0.125 is one Minecraft:snow layer.
- Template:Nbt: Template:More info
- Template:Nbt
- Template:Nbt: Chance of creatures spawning when the chunk is generated. Must be ≤0.75.
- Template:Nbt
- Template:Nbt: Whether or not the biome is humid.
- Template:Nbt
- Template:NbtTemplate:Nbt: The color foliage will be tinted by on a Minecraft:map in this biome for example Template:Cd.
- Template:Nbt: The color grass will be tinted by on a Minecraft:map in this biome.
- Template:Nbt: It could be Template:Cd or Template:Cd.
- Template:Nbt: Available only if the type is tint, it is used to define the fixed color of the grass on the map, for example Template:Cd.
- Template:Nbt: Parameters used to drive mountain terrain generation in the Minecraft:overworld.
- Template:Nbt: Whether to have east-facing slopes.
- Template:Nbt: Whether to have west-facing slopes.
- Template:Nbt: Whether to have north-facing slopes.
- Template:Nbt: Whether to have south-facing slopes.
- Template:Nbt: Block to use as steep material.
- Template:Nbt: Minecraft:Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: Controls the density tapering that happens at the top of the world to prevent terrain from reaching too high.
- Template:Nbt: Defines surface material for steep slopes.
- Template:Nbt: Whether to have east-facing slopes.
- Template:Nbt: Whether to have west-facing slopes.
- Template:Nbt: Whether to have north-facing slopes.
- Template:Nbt: Whether to have south-facing slopes.
- Template:Nbt: Block to use as steep material.
- Template:Nbt: Minecraft:Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: Currently only affects map items. Specifies the noise parameters used to drive terrain height.
- Template:Nbt: 2 values, first is depth, and the second is scale.
- Template:Nbt: Uses a built-in preset instead of specifying values. Available presets are:
- Template:Nbt: Allows this biome to replace parts of one or more vanilla biomes.
- Template:Nbt: The list of replacements
- Template:Nbt: An replacement
- Template:Nbt: Chance that the replacement is attempted. Must be >0.0 and ≤1.0.
- Template:Nbt: The dimension in which this replacement can occur. Can be either Template:Cd.
- Template:Nbt: Scale to alter the frequency of replacements. Lower values make bigger areas that are less common, and higher values make smaller areas that are more common. Must be >0.0 and ≤100.0.
- Template:Nbt: The biomes that can be replaced.
- Template:Nbt: A biome ID without the namespace.
- Template:Nbt: An replacement
- Template:Nbt: The list of replacements
- Template:Nbt
- Template:Nbt: Controls the blocks used for terrain generation.
- Template:Nbt: The type of surface builder. Can be Template:Cd.
- If
typeisminecraft:capped:
- If
- Template:NbtTemplate:Nbt: Material used near sea level.
- Template:Nbt: Minecraft:Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used for the surface ceiling.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used for the surface floor.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace solid blocks that are not surface blocks.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace air below sea level.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- If
typeisminecraft:frozen_oceanorminecraft:overworld:
- Template:NbtTemplate:Nbt: Material used to replace solid blocks that are not surface blocks.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used a layer below the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: How deep below sea level the sea floor should be. Must be ≤127.
- Template:NbtTemplate:Nbt: Material used as a floor for bodies of water.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace air below sea level.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used for the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- If
typeisminecraft:mesa:
- Template:Nbt: Whether the mesa generates with pillars.
- Template:NbtTemplate:Nbt: Base clay material.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace solid blocks that are not surface blocks.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Hardened clay material.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: Adds coarse dirt and grass at high altitudes.
- Template:NbtTemplate:Nbt: Material used a layer below the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: How deep below sea level the sea floor should be. Must be ≤127.
- Template:NbtTemplate:Nbt: Material used as a floor for bodies of water.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace air below sea level.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used for the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- If
typeisminecraft:swamp:
- Template:NbtTemplate:Nbt: Material used to replace solid blocks that are not surface blocks.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: The depth at which surface blocks can be replaced with water for puddles. Must be ≤127.
- Template:NbtTemplate:Nbt: Material used a layer below the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: How deep below sea level the sea floor should be. Must be ≤127.
- Template:NbtTemplate:Nbt: Material used as a floor for bodies of water.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace air below sea level.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used for the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:Nbt: The type of surface builder. Can be Template:Cd.
- Template:Nbt: Controls the blocks used for terrain generation.
- Template:Nbt: Specify fine changes to blocks used in terrain generation.
- Template:Nbt
- Template:Nbt: An adjustment
- Template:NbtTemplate:NbtTemplate:Nbt: Template:More info
- Template:Nbt: The scale to apply to the position when accessing the noise value.
- Template:Nbt: A range of noise values for which this adjustment should be applied.
- Template:Nbt: Materials to use when this adjustment is active.
- Template:NbtTemplate:Nbt: Material used to replace solid blocks that are not surface blocks.
- Template:Nbt: Minecraft:Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used a layer below the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used as a floor for bodies of water.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace air below sea level.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used for the surface of the biome.
- Template:Nbt: Identifier of the block.
- Template:Nbt: Block states for the block.
- Template:NbtTemplate:Nbt: Material used to replace solid blocks that are not surface blocks.
- Template:Nbt: An adjustment
- Template:Nbt
- Template:Nbt
- Template:Nbt: Tags for the biome.
- Template:Nbt
- Template:Nbt: The type of village for this biome. Valid values are Template:Cd.
- Template:Nbt: Defines the climate properties of the biome.
- Template:Nbt
History
Java Edition
Bedrock Edition
External links
References
<references/>
Template:Navbox Java Edition technical Template:Navbox Bedrock Edition
Minecraft:de:Biomdefinition Minecraft:fr:Définition de biome Minecraft:ja:バイオームのカスタマイズ Minecraft:pt:Definição de biomas Minecraft:uk:Визначення біому Minecraft:zh:生物群系定义格式