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

98 lines
4.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "70508991",
"definitions": {
"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"
}
]
},
"553173857": {
"title": "struct SharedTypes::v1_20_60::OverworldGenerationRulesBiomeJsonComponent::WeightedBiomeName",
"oneOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"minItems": 2,
"maxItems": 2
},
{
"type": "string"
}
]
},
"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
}
},
"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"
}
}
}