Added biomes schema

This commit is contained in:
DaanV2
2021-02-06 14:00:02 +01:00
parent 3e788aedcf
commit 2dac416125
14 changed files with 675 additions and 3 deletions

View File

@@ -0,0 +1,94 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.overworld_generation_rules",
"title": "Overworld generation rules",
"description": "Control how this biome is instantiated (and then potentially modified) during world generation of the overworld.",
"type": "object",
"additionalProperties": false,
"definitions": {
"transformation": {
"oneOf": [
{
"type": "string",
"title": "Block reference",
"description": "UNDOCUMENTATED"
},
{
"type": "array",
"description": "UNDOCUMENTATED",
"minItems": 1,
"items": {
"oneOf": [
{
"type": "string",
"description": "UNDOCUMENTATED",
"title": "Block reference"
},
{
"type": "array",
"description": "UNDOCUMENTATED",
"items": [
{
"title": "Biome reference",
"description": "UNDOCUMENTATED",
"type": "string"
},
{
"title": "_",
"description": "UNDOCUMENTATED",
"type": "integer"
}
]
}
]
}
}
]
}
},
"properties": {
"hills_transformation": {
"title": "Hills transformation",
"description": "UNDOCUMENTATED",
"$ref": "#/definitions/transformation"
},
"mutate_transformation": {
"title": "Mutate transformation",
"description": "UNDOCUMENTATED",
"$ref": "#/definitions/transformation"
},
"river_transformation": {
"title": "River transformation",
"description": "UNDOCUMENTATED",
"$ref": "#/definitions/transformation"
},
"shore_transformation": {
"title": "Shore transformation",
"description": "UNDOCUMENTATED",
"$ref": "#/definitions/transformation"
},
"generate_for_climates": {
"title": "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": {
"title": "_",
"description": "UNDOCUMENTATED",
"type": "array",
"items": [
{
"title": "UNDOCUMENTATED",
"description": "Name of a climate category",
"type": "string",
"enum": ["medium", "warm", "lukewarm", "cold", "frozen"]
},
{
"title": "UNDOCUMENTATED",
"description": "Weight with which this biome should be selected, relative to other biomes in the same category",
"type": "integer"
}
]
}
}
}
}