diff --git a/source/behaviour/biomes/1.12.0/biomes.json b/source/behaviour/biomes/1.12.0/biomes.json new file mode 100644 index 00000000..5905e672 --- /dev/null +++ b/source/behaviour/biomes/1.12.0/biomes.json @@ -0,0 +1,18 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "minecraft.behavior.biomes.1.12.0", + "type": "object", + "title": "Biomes", + "description": "The definition of a biome", + "additionalProperties": { + "title": "Tag", + "type": "object", + "description": "Components with no namespace are treated as 'tags': any name consisting of alphanumeric characters, '.' and '_' is permitted; the tag is attached to the biome so that either code or data may check for its existence; tag components may not have member fields.", + "additionalProperties": false + }, + "properties": { + "minecraft:climate": { "$ref": "./components/minecraft.climate.json" }, + "minecraft:forced_features": { "$ref": "./components/minecraft.forced_features.json" }, + "minecraft:overworld_height": { "$ref": "./components/minecraft.overworld_height.json" } + } +} \ No newline at end of file diff --git a/source/behaviour/biomes/1.12.0/components/minecraft.climate.json b/source/behaviour/biomes/1.12.0/components/minecraft.climate.json new file mode 100644 index 00000000..54d1c49e --- /dev/null +++ b/source/behaviour/biomes/1.12.0/components/minecraft.climate.json @@ -0,0 +1,51 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.climate", + "title": "Climate", + "description": "Describes temperature, humidity, precipitation, etc. Biomes without this component will have default values.", + "type": "object", + "minProperties": 0, + "maxProperties": 7, + "additionalProperties": false, + "properties": { + "temperature" : { + "title": "Temperature", + "description": "UNDOCUMENATED", + "type": "number" + }, + "downfall" : { + "title": "Downfall", + "description": "UNDOCUMENATED", + "type": "number" + }, + "red_spores" : { + "title": "Red spores", + "description": "UNDOCUMENATED", + "type": "number" + }, + "blue_spores" : { + "title": "Blue spores", + "description": "UNDOCUMENATED", + "type": "number" + }, + "ash" : { + "title": "Ash", + "description": "UNDOCUMENATED", + "type": "number" + }, + "white_ash" : { + "title": "White ash", + "description": "UNDOCUMENATED", + "type": "number" + }, + "snow_accumulation": { + "title": "Snow accumulation", + "description": "UNDOCUMENATED", + "type": "array", + "items": [ + { "type": "number"}, + { "type": "number"} + ] + } + } +} \ No newline at end of file diff --git a/source/behaviour/biomes/1.12.0/components/minecraft.forced_features.json b/source/behaviour/biomes/1.12.0/components/minecraft.forced_features.json new file mode 100644 index 00000000..d4427ad8 --- /dev/null +++ b/source/behaviour/biomes/1.12.0/components/minecraft.forced_features.json @@ -0,0 +1,13 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.forced_features", + "title": "Forced features", + "description": "Force specific decorative features (trees, plants, etc.) to appear in this Biome, regardless of normal decoration rules.", + "type": "object", + "minProperties": 0, + "maxProperties": 2, + "additionalProperties": false, + "properties": { + + } +} diff --git a/source/behaviour/biomes/1.12.0/components/minecraft.overworld_height.json b/source/behaviour/biomes/1.12.0/components/minecraft.overworld_height.json new file mode 100644 index 00000000..6a7771ea --- /dev/null +++ b/source/behaviour/biomes/1.12.0/components/minecraft.overworld_height.json @@ -0,0 +1,40 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.overworld_height", + "title": "Overworld height", + "description": "Noise parameters used to drive terrain height in the Overworld.", + "type": "object", + "minProperties": 0, + "maxProperties": 2, + "additionalProperties": false, + "properties": { + "noise_params": { + "title": "Noise params", + "description": "UNDOCUMENATED", + "type": "array", + "items": [{ "type": "number" }, { "type": "number" }] + }, + "noise_type": { + "title": "Noise type", + "description": "UNDOCUMENATED", + "type": "string", + "enum": [ + "stone_beach", + "deep_ocean", + "default", + "default_mutated", + "lowlands", + "river", + "ocean", + "taiga", + "mountains", + "highlands", + "mushroom", + "less_extreme", + "extreme", + "beach", + "swamp" + ] + } + } +} diff --git a/source/behaviour/biomes/biomes.json b/source/behaviour/biomes/biomes.json new file mode 100644 index 00000000..444af1a0 --- /dev/null +++ b/source/behaviour/biomes/biomes.json @@ -0,0 +1,17 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "minecraft.behavior.biomes", + "type": "object", + "examples": [{ "plains": { "format_version": "1.12.0" } }], + "additionalProperties": { + "type": "object", + "title": "Biome", + "description": "A biome definition", + "allOf": [ + { + "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, + "then": { "$ref": "./1.12.0/biomes.json" } + } + ] + } +} diff --git a/source/compress specification.json b/source/compress specification.json index 1d05d6ee..95b11c9a 100644 --- a/source/compress specification.json +++ b/source/compress specification.json @@ -104,6 +104,10 @@ "Source": "./behaviour/animations/animations.json", "Destination": "../behaviour/animations/animations.json" }, + { + "Source": "./behaviour/biomes/biomes.json", + "Destination": "../behaviour/biomes/biomes.json" + }, { "Source": "./behaviour/loot_tables/loot_tables.json", "Destination": "../behaviour/loot_tables/loot_tables.json"