1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-15 22:55:45 +00:00
Files
bedrock-samples/metadata/json_schemas/server/biome/1.20.60/Overworld Generation Rules Biome Component.json
2025-09-09 10:02:11 -07:00

103 lines
3.7 KiB
JSON

{
"$id": "70508991",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1493629372": {
"title": "Reference",
"type": "string"
},
"2586207614": {
"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": [
{
"items": {
"$ref": "#/definitions/553173857"
},
"type": "array"
},
{
"$ref": "#/definitions/1493629372"
}
],
"title": "minecraft:overworld_generation_rules - Weighted biome names settings"
},
"553173857": {
"oneOf": [
{
"items": {
"oneOf": [
{
"$ref": "#/definitions/1493629372"
},
{
"type": "integer"
}
]
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"$ref": "#/definitions/1493629372"
}
],
"title": "WeightedBiomeName"
},
"891697368": {
"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.",
"items": {
"oneOf": [
{
"enum": [
"medium",
"warm",
"lukewarm",
"cold",
"frozen"
],
"title": "BiomeTemperatureCategory",
"type": "string"
},
{
"type": "integer"
}
]
},
"maxItems": 2,
"minItems": 2,
"title": "minecraft:overworld_generation_rules - Weighted climate categories settings",
"type": "array"
}
},
"description": "Controls how this biome is instantiated (and then potentially modified) during world generation of the overworld.",
"properties": {
"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.",
"items": {
"$ref": "#/definitions/891697368",
"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"
},
"hills_transformation": {
"$ref": "#/definitions/2586207614",
"description": "What biome to switch to when converting to a hilly biome"
},
"mutate_transformation": {
"$ref": "#/definitions/2586207614",
"description": "What biome to switch to when converting to a mutated biome"
},
"river_transformation": {
"$ref": "#/definitions/2586207614",
"description": "What biome to switch to when converting to a river biome (if not the Vanilla 'river' biome)"
},
"shore_transformation": {
"$ref": "#/definitions/2586207614",
"description": "What biome to switch to when adjacent to an ocean biome"
}
},
"title": "minecraft:overworld_generation_rules",
"type": "object",
"x-format-version": "1.20.60"
}