1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-04-11 16:09:59 +00:00
Files
bedrock-samples/metadata/json_schemas/biome/v1.20.60/Biome Document v1.20.60.json
Mike Ammerlaan 8cb28e3b1e v1.21.70.3
2025-03-25 09:13:19 -07:00

759 lines
33 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1325498408",
"definitions": {
"3728836809": {
"title": "Biome Definition",
"description": "Contains a description and components to define a Biome.",
"type": "object",
"properties": {
"components": {
"description": "Components for this Biome.",
"$ref": "#/definitions/471566442"
},
"description": {
"description": "Non-component settings, including the Biome name.",
"$ref": "#/definitions/2794612011"
}
},
"required": [
"description",
"components"
]
},
"2794612011": {
"title": "Biome Description",
"description": "Contains non-component settings for a Biome.",
"type": "object",
"properties": {
"identifier": {
"description": "The name of the Biome, used by other features like the '/locate biome' command.",
"type": "string"
}
},
"required": [
"identifier"
]
},
"3076687790": {
"title": "Block Specifier",
"description": "Specifies a particular block. Can be a string block name or a JSON object",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"name": {
"description": "Name of the block",
"type": "string"
},
"states": {
"description": "Contains members named after each state, with boolean, integer, or string values.",
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "string"
}
]
}
}
},
"required": [
"name"
]
}
]
},
"2278320139": {
"title": "minecraft:mountain_parameters - steep_material_adjustment settings",
"description": "Defines surface material for steep slopes",
"type": "object",
"properties": {
"material": {
"description": "Block type use as steep material",
"$ref": "#/definitions/3076687790"
},
"east_slopes": {
"description": "Enable for east-facing slopes",
"type": "boolean"
},
"north_slopes": {
"description": "Enable for north-facing slopes",
"type": "boolean"
},
"south_slopes": {
"description": "Enable for south-facing slopes",
"type": "boolean"
},
"west_slopes": {
"description": "Enable for west-facing slopes",
"type": "boolean"
}
}
},
"471566442": {
"title": "Biome Components",
"description": "Any components that this Biome uses",
"type": "object",
"properties": {
"minecraft:capped_surface": {
"description": "Generates surface on blocks with non-solid blocks above or below.",
"$ref": "#/definitions/910282102"
},
"minecraft:creature_spawn_probability": {
"description": "Probability that creatures will spawn within the biome when a chunk is generated.",
"$ref": "#/definitions/6061611"
},
"minecraft:overworld_generation_rules": {
"description": "Controls how this biome is instantiated (and then potentially modified) during world generation of the overworld.",
"$ref": "#/definitions/70508991"
},
"minecraft:climate": {
"description": "Describes temperature, humidity, precipitation, and similar. Biomes without this component will have default values.",
"$ref": "#/definitions/800202529"
},
"minecraft:frozen_ocean_surface": {
"description": "Similar to overworld_surface. Adds icebergs.",
"$ref": "#/definitions/114123883"
},
"minecraft:mesa_surface": {
"description": "Similar to overworld_surface. Adds colored strata and optional pillars.",
"$ref": "#/definitions/1174814411"
},
"minecraft:mountain_parameters": {
"description": "Noise parameters used to drive mountain terrain generation in Overworld.",
"$ref": "#/definitions/4185018795"
},
"minecraft:multinoise_generation_rules": {
"description": "Controls how this biome is instantiated (and then potentially modified) during world generation of the nether.",
"$ref": "#/definitions/458645028"
},
"minecraft:overworld_height": {
"description": "Noise parameters used to drive terrain height in the Overworld.",
"$ref": "#/definitions/1042742755"
},
"minecraft:surface_material_adjustments": {
"description": "Specify fine-detail changes to blocks used in terrain generation (based on a noise function).",
"$ref": "#/definitions/3704131722"
},
"minecraft:surface_parameters": {
"description": "Controls the blocks used for the default Minecraft Overworld terrain generation.",
"$ref": "#/definitions/1167427373"
},
"minecraft:swamp_surface": {
"description": "Similar to overworld_surface. Adds swamp surface details.",
"$ref": "#/definitions/416340115"
},
"minecraft:the_end_surface": {
"description": "Use default Minecraft End terrain generation.",
"$ref": "#/definitions/2053063253"
},
"minecraft:tags": {
"description": "Attach arbitrary string tags to this biome.",
"$ref": "#/definitions/3315029981"
}
}
},
"114123883": {
"title": "minecraft:frozen_ocean_surface",
"description": "Similar to overworld_surface. Adds icebergs.",
"type": "object",
"properties": {
"mid_material": {
"description": "Controls the block type used in a layer below the surface of this biome",
"$ref": "#/definitions/3076687790"
},
"sea_floor_depth": {
"description": "Controls how deep below the world water level the floor should occur",
"type": "integer"
},
"sea_floor_material": {
"description": "Controls the block type used as a floor for bodies of water in this biome",
"$ref": "#/definitions/3076687790"
},
"sea_material": {
"description": "Controls the block type used for the bodies of water in this biome",
"$ref": "#/definitions/3076687790"
},
"top_material": {
"description": "Controls the block type used for the surface of this biome",
"$ref": "#/definitions/3076687790"
},
"foundation_material": {
"description": "Controls the block type used deep underground in this biome",
"$ref": "#/definitions/3076687790"
}
},
"required": [
"sea_floor_depth",
"mid_material",
"sea_floor_material",
"foundation_material",
"top_material",
"sea_material"
]
},
"3263934683": {
"title": "minecraft:surface_material_adjustments - surface adjustment settings",
"description": "An adjustment to generated terrain, replacing blocks based on the specified settings.",
"type": "object",
"properties": {
"materials": {
"description": "The specific blocks used for this surface adjustment",
"$ref": "#/definitions/1287813091"
},
"noise_range": {
"description": "Defines a range of noise values [min, max] for which this adjustment should be applied.",
"type": "array",
"items": {
"type": "number"
},
"minItems": 2,
"maxItems": 2
},
"height_range": {
"description": "Defines a range of noise values [min, max] for which this adjustment should be applied.",
"type": "array",
"items": {
"description": "A JSON field that specifies a Molang expression. Can be an integer, float, boolean, or string.",
"$ref": "#/definitions/73298661"
},
"minItems": 2,
"maxItems": 2
},
"noise_frequency_scale": {
"description": "The scale to multiply by the position when accessing the noise value for the material adjustments.",
"type": "number"
}
},
"required": [
"materials"
]
},
"910282102": {
"title": "minecraft:capped_surface",
"description": "Generates surface on blocks with non-solid blocks above or below.",
"type": "object",
"properties": {
"beach_material": {
"description": "Material used to decorate surface near sea level.",
"$ref": "#/definitions/3076687790"
},
"floor_materials": {
"description": "Materials used for the surface floor.",
"type": "array",
"items": {
"description": "Specifies a particular block. Can be a string block name or a JSON object",
"$ref": "#/definitions/3076687790"
},
"minItems": 1
},
"ceiling_materials": {
"description": "Materials used for the surface ceiling.",
"type": "array",
"items": {
"description": "Specifies a particular block. Can be a string block name or a JSON object",
"$ref": "#/definitions/3076687790"
},
"minItems": 1
},
"foundation_material": {
"description": "Material used to replace solid blocks that are not surface blocks.",
"$ref": "#/definitions/3076687790"
},
"sea_material": {
"description": "Material used to replace air blocks below sea level.",
"$ref": "#/definitions/3076687790"
}
},
"required": [
"floor_materials",
"ceiling_materials",
"sea_material",
"foundation_material"
]
},
"2586207614": {
"title": "minecraft:overworld_generation_rules - Weighted biome names settings",
"description": "Can be just the string name of a Biome, or an array of any size. If an array, each entry can be a Biome name string, or an array of size 2, where the first entry is a Biome name and the second entry is a positive integer representing how that Biome is weighted against other entries. If no weight is provided, a weight of 1 is used.",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/553173857"
}
},
{
"type": "string"
}
]
},
"6061611": {
"title": "minecraft:creature_spawn_probability",
"description": "Probability that creatures will spawn within the biome when a chunk is generated.",
"type": "object",
"properties": {
"probability": {
"description": "Probabiltity between [0.0, 0.75] of creatures spawning within the biome on chunk generation.",
"type": "number",
"minimum": 0.0,
"maximum": 0.75
}
}
},
"70508991": {
"title": "minecraft:overworld_generation_rules",
"description": "Controls how this biome is instantiated (and then potentially modified) during world generation of the overworld.",
"type": "object",
"properties": {
"mutate_transformation": {
"description": "What biome to switch to when converting to a mutated biome",
"$ref": "#/definitions/2586207614"
},
"hills_transformation": {
"description": "What biome to switch to when converting to a hilly biome",
"$ref": "#/definitions/2586207614"
},
"generate_for_climates": {
"description": "Controls the world generation climate categories that this biome can spawn for. A single biome can be associated with multiple categories with different weightings.",
"type": "array",
"items": {
"description": "An array of any size containing arrays of exactly two elements. For each contained array, the first element is a climate category string ('medium', 'warm', 'lukewarm', 'cold', or 'frozen'). The second element is a positive integer for how much that entry is weighted relative to other entries.",
"$ref": "#/definitions/891697368"
}
},
"river_transformation": {
"description": "What biome to switch to when converting to a river biome (if not the Vanilla 'river' biome)",
"$ref": "#/definitions/2586207614"
},
"shore_transformation": {
"description": "What biome to switch to when adjacent to an ocean biome",
"$ref": "#/definitions/2586207614"
}
}
},
"553173857": {
"title": "struct SharedTypes::v1_20_60::OverworldGenerationRulesBiomeJsonComponent::WeightedBiomeName",
"oneOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"minItems": 2,
"maxItems": 2
},
{
"type": "string"
}
]
},
"2053063253": {
"title": "minecraft:the_end_surface",
"description": "Use default Minecraft End terrain generation."
},
"891697368": {
"title": "minecraft:overworld_generation_rules - Weighted climate categories settings",
"description": "An array of any size containing arrays of exactly two elements. For each contained array, the first element is a climate category string ('medium', 'warm', 'lukewarm', 'cold', or 'frozen'). The second element is a positive integer for how much that entry is weighted relative to other entries.",
"type": "array",
"items": {
"oneOf": [
{
"title": "BiomeTemperatureCategory",
"type": "string",
"enum": [
"medium",
"warm",
"lukewarm",
"cold",
"frozen"
]
},
{
"type": "integer"
}
]
},
"minItems": 2,
"maxItems": 2
},
"800202529": {
"title": "minecraft:climate",
"description": "Describes temperature, humidity, precipitation, and similar. Biomes without this component will have default values.",
"type": "object",
"properties": {
"blue_spores": {
"description": "Density of blue spore precipitation visuals",
"type": "number"
},
"downfall": {
"description": "Amount that precipitation affects colors and block changes",
"type": "number"
},
"snow_accumulation": {
"description": "Minimum and maximum snow level, each multiple of 0.125 is another snow layer",
"type": "array",
"items": {
"type": "number"
},
"minItems": 2,
"maxItems": 2
},
"white_ash": {
"description": "Density of white ash precipitation visuals",
"type": "number"
},
"temperature": {
"description": "Temperature affects a variety of visual and behavioral things, including snow and ice placement, sponge drying, and sky color",
"type": "number"
},
"red_spores": {
"description": "Density of blue spore precipitation visuals",
"type": "number"
},
"ash": {
"description": "Density of ash precipitation visuals",
"type": "number"
}
}
},
"1174814411": {
"title": "minecraft:mesa_surface",
"description": "Similar to overworld_surface. Adds colored strata and optional pillars.",
"type": "object",
"properties": {
"sea_floor_depth": {
"description": "Controls how deep below the world water level the floor should occur",
"type": "integer"
},
"mid_material": {
"description": "Controls the block type used in a layer below the surface of this biome",
"$ref": "#/definitions/3076687790"
},
"sea_floor_material": {
"description": "Controls the block type used as a floor for bodies of water in this biome",
"$ref": "#/definitions/3076687790"
},
"foundation_material": {
"description": "Controls the block type used deep underground in this biome",
"$ref": "#/definitions/3076687790"
},
"top_material": {
"description": "Controls the block type used for the surface of this biome",
"$ref": "#/definitions/3076687790"
},
"sea_material": {
"description": "Controls the block type used for the bodies of water in this biome",
"$ref": "#/definitions/3076687790"
},
"hard_clay_material": {
"description": "Hardened clay block to use",
"$ref": "#/definitions/3076687790"
},
"clay_material": {
"description": "Base clay block to use",
"$ref": "#/definitions/3076687790"
},
"bryce_pillars": {
"description": "Whether the mesa generates with pillars",
"type": "boolean"
},
"has_forest": {
"description": "Places coarse dirt and grass at high altitudes",
"type": "boolean"
}
},
"required": [
"mid_material",
"sea_floor_depth",
"sea_floor_material",
"hard_clay_material",
"sea_material",
"top_material",
"foundation_material",
"clay_material",
"bryce_pillars",
"has_forest"
]
},
"73298661": {
"title": "Molang Expression",
"description": "A JSON field that specifies a Molang expression. Can be an integer, float, boolean, or string.",
"oneOf": [
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "string"
}
]
},
"4185018795": {
"title": "minecraft:mountain_parameters",
"description": "Noise parameters used to drive mountain terrain generation in Overworld.",
"type": "object",
"properties": {
"steep_material_adjustment": {
"description": "Defines surface material for steep slopes",
"$ref": "#/definitions/2278320139"
},
"top_slide": {
"description": "Controls the density tapering that happens at the top of the world to prevent terrain from reaching too high",
"$ref": "#/definitions/3848407258"
}
}
},
"3848407258": {
"title": "minecraft:mountain_parameters - top_slide settings",
"description": "Controls the density tapering that happens at the top of the world to prevent terrain from reaching too high.",
"type": "object",
"properties": {
"enabled": {
"description": "If false, top slide will be disabled. If true, other parameters will be taken into account.",
"type": "boolean"
}
},
"required": [
"enabled"
]
},
"458645028": {
"title": "minecraft:multinoise_generation_rules",
"description": "Controls how this biome is instantiated (and then potentially modified) during world generation of the nether.",
"type": "object",
"properties": {
"target_weirdness": {
"description": "Weirdness with which this biome should be generated, relative to other biomes.",
"type": "number"
},
"target_temperature": {
"description": "Temperature with which this biome should be generated, relative to other biomes.",
"type": "number"
},
"target_humidity": {
"description": "Humidity with which this biome should be generated, relative to other biomes.",
"type": "number"
},
"target_altitude": {
"description": "Altitude with which this biome should be generated, relative to other biomes.",
"type": "number"
},
"weight": {
"description": "Weight with which this biome should be generated, relative to other biomes.",
"type": "number"
}
}
},
"1042742755": {
"title": "minecraft:overworld_height",
"description": "Noise parameters used to drive terrain height in the Overworld.",
"type": "object",
"properties": {
"noise_type": {
"title": "Noise Type",
"description": "Specifies a preset based on a built-in setting rather than manually using noise_params",
"type": "string",
"enum": [
"default",
"default_mutated",
"river",
"ocean",
"deep_ocean",
"lowlands",
"taiga",
"mountains",
"highlands",
"extreme",
"less_extreme",
"beach",
"stone_beach",
"mushroom",
"swamp"
]
},
"noise_params": {
"description": "First value is depth - more negative means deeper underwater, while more positive means higher. Second value is scale, which affects how much noise changes as it moves from the surface.",
"type": "array",
"items": {
"type": "number"
},
"minItems": 2,
"maxItems": 2
}
}
},
"3704131722": {
"title": "minecraft:surface_material_adjustments",
"description": "Specify fine-detail changes to blocks used in terrain generation (based on a noise function).",
"type": "object",
"properties": {
"adjustments": {
"description": "All adjustments that match the column's noise values will be applied in the order listed.",
"type": "array",
"items": {
"description": "An adjustment to generated terrain, replacing blocks based on the specified settings.",
"$ref": "#/definitions/3263934683"
}
}
}
},
"1287813091": {
"title": "minecraft:surface_material_adjustments - surface adjustment materials settings",
"description": "The specific blocks used for this surface adjustment",
"type": "object",
"properties": {
"sea_material": {
"description": "Controls the block type used in the bodies of water in this biome when this adjustment is active.",
"$ref": "#/definitions/3076687790"
},
"foundation_material": {
"description": "Controls the block type used deep underground in this biome when this adjustment is active.",
"$ref": "#/definitions/3076687790"
},
"top_material": {
"description": "Controls the block type used for the surface of this biome when this adjustment is active.",
"$ref": "#/definitions/3076687790"
},
"mid_material": {
"description": "Controls the block type used in a layer below the surface of this biome when this adjustment is active.",
"$ref": "#/definitions/3076687790"
},
"sea_floor_material": {
"description": "Controls the block type used as a floor for bodies of water in this biome when this adjustment is active.",
"$ref": "#/definitions/3076687790"
}
}
},
"1167427373": {
"title": "minecraft:surface_parameters",
"description": "Controls the blocks used for the default Minecraft Overworld terrain generation.",
"type": "object",
"properties": {
"mid_material": {
"description": "Controls the block type used in a layer below the surface of this biome.",
"$ref": "#/definitions/3076687790"
},
"sea_floor_depth": {
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
},
"sea_floor_material": {
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"$ref": "#/definitions/3076687790"
},
"sea_material": {
"description": "Controls the block type used for the bodies of water in this biome.",
"$ref": "#/definitions/3076687790"
},
"top_material": {
"description": "Controls the block type used for the surface of this biome.",
"$ref": "#/definitions/3076687790"
},
"foundation_material": {
"description": "Controls the block type used deep underground in this biome.",
"$ref": "#/definitions/3076687790"
}
},
"required": [
"sea_floor_depth",
"mid_material",
"sea_floor_material",
"foundation_material",
"top_material",
"sea_material"
]
},
"416340115": {
"title": "minecraft:swamp_surface",
"description": "Similar to overworld_surface. Adds swamp surface details.",
"type": "object",
"properties": {
"mid_material": {
"description": "Controls the block type used in a layer below the surface of this biome.",
"$ref": "#/definitions/3076687790"
},
"sea_floor_depth": {
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
},
"sea_floor_material": {
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"$ref": "#/definitions/3076687790"
},
"sea_material": {
"description": "Controls the block type used for the bodies of water in this biome.",
"$ref": "#/definitions/3076687790"
},
"top_material": {
"description": "Controls the block type used for the surface of this biome.",
"$ref": "#/definitions/3076687790"
},
"foundation_material": {
"description": "Controls the block type used deep underground in this biome.",
"$ref": "#/definitions/3076687790"
}
},
"required": [
"sea_floor_depth",
"mid_material",
"sea_floor_material",
"foundation_material",
"top_material",
"sea_material"
]
},
"3315029981": {
"title": "minecraft:tags",
"description": "Attach arbitrary string tags to this biome.",
"type": "object",
"properties": {
"tags": {
"description": "Array of string tags used by other systems such as entity spawning",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"tags"
]
}
},
"title": "Biome JSON File",
"description": "Contains a format version and a biome definition",
"type": "object",
"properties": {
"minecraft:biome": {
"description": "A single biome definition",
"$ref": "#/definitions/3728836809"
},
"format_version": {
"description": "Version of the JSON schema used by this file",
"type": "string"
}
},
"required": [
"minecraft:biome",
"format_version"
]
}