Files
minecraft-bedrock-json-schemas/behavior/biomes/biomes.json
2024-12-23 19:12:51 +00:00

1 line
17 KiB
JSON
Generated

{"$schema":"http://json-schema.org/draft-07/schema","$id":"minecraft.behavior.biomes","type":"object","examples":[{"plains":{"format_version":"1.20.80"}}],"additionalProperties":{"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":{"format_version":{"$ref":"#/definitions/A"},"minecraft:capped_surface":{"$ref":"#/definitions/B"},"minecraft:climate":{"$ref":"#/definitions/C"},"minecraft:consolidated_features":{"$ref":"#/definitions/D"},"minecraft:frozen_ocean_surface":{"$ref":"#/definitions/E"},"minecraft:legacy_world_generation_rules":{"$ref":"#/definitions/F"},"minecraft:mesa_surface":{"$ref":"#/definitions/G"},"minecraft:mountain_parameters":{"$ref":"#/definitions/H"},"minecraft:nether_generation_rules":{"$ref":"#/definitions/I"},"minecraft:nether_surface":{"$ref":"#/definitions/J"},"minecraft:overworld_generation_rules":{"$ref":"#/definitions/BA"},"minecraft:overworld_height":{"$ref":"#/definitions/BB"},"minecraft:surface_material_adjustments":{"$ref":"#/definitions/BC"},"minecraft:surface_parameters":{"$ref":"#/definitions/BE"},"minecraft:swamp_surface":{"$ref":"#/definitions/BF"},"minecraft:the_end_surface":{"$ref":"#/definitions/BG"}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.50","examples":["1.21.50","1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"title":"Capped Surface","description":"Generates surface on blocks with non-solid blocks above or below.","type":"object","additionalProperties":false,"required":["floor_materials","ceiling_materials","sea_material","foundation_material"],"properties":{"ceiling_materials":{"title":"Ceiling Materials","description":"Materials used for the surface ceiling.","minItems":1,"items":{"title":"Block Reference","description":"A block reference.","$comment":"UNDOCUMENTED","type":"string"}},"floor_materials":{"title":"Floor Materials","description":"Materials used for the surface floor.","minItems":1,"items":{"title":"Block Reference","description":"A block reference.","$comment":"UNDOCUMENTED","type":"string"}},"sea_material":{"title":"Sea Material","description":"Material used to replace air blocks below sea level.","type":"string"},"foundation_material":{"title":"Foundation Material","description":"Material used to repalce solid blocks that are not surface blocks.","type":"string"},"beach_material":{"title":"Beach Material","description":"Material used to decorate surface near sea level.","type":"string"}}},"C":{"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":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number"},"downfall":{"title":"Downfall","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number"},"red_spores":{"title":"Red Spores","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number"},"blue_spores":{"title":"Blue Spores","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number"},"ash":{"title":"Ash","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number"},"white_ash":{"title":"White Ash","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number"},"snow_accumulation":{"title":"Snow Accumulation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":[{"type":"number"},{"type":"number"}]}}},"D":{"title":"Consolidated Features","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{}},"E":{"title":"Frozen Ocean Surface","description":"Similar to overworld_surface. Adds icebergs.","type":"object","minProperties":0,"maxProperties":6,"additionalProperties":false,"properties":{"top_material":{"title":"Top Material","description":"Controls the block type used for the surface of this biome.","string":"string"},"mid_material":{"title":"Mid Material","description":"Controls the block type used in a layer below the surface of this biome.","string":"string"},"sea_floor_material":{"title":"Sea Floor Material","description":"Controls the block type used as a floor for bodies of water in this biome.","string":"boostringlean"},"foundation_material":{"title":"Foundation Material","description":"Controls the block type used deep underground in this biome.","string":"string"},"sea_material":{"title":"Sea Material","description":"Controls the block type used for the bodies of water in this biome.","string":"string"},"sea_floor_depth":{"title":"Sea Floor Depth","description":"Controls how deep below the world water level the floor should occur.","type":"integer"}}},"F":{"title":"Legacy World Generation Rules","description":"Additional world generation control applicable only to legacy limited worlds.","type":"object","additionalProperties":false,"properties":{}},"G":{"title":"Mesa Surface","description":"Similar to overworld_surface. Adds colored strata and optional pillars.","type":"object","minProperties":0,"maxProperties":10,"additionalProperties":false,"properties":{"top_material":{"title":"Top Material","description":"Controls the block type used for the surface of this biome.","string":"string"},"mid_material":{"title":"Mid Material","description":"Controls the block type used in a layer below the surface of this biome.","string":"string"},"sea_floor_material":{"title":"Sea Floor Material","description":"Controls the block type used as a floor for bodies of water in this biome.","string":"boostringlean"},"foundation_material":{"title":"Foundation Material","description":"Controls the block type used deep underground in this biome.","string":"string"},"sea_material":{"title":"Sea Material","description":"Controls the block type used for the bodies of water in this biome.","string":"string"},"sea_floor_depth":{"title":"Sea Floor Depth","description":"Controls how deep below the world water level the floor should occur.","type":"integer"},"clay_material":{"title":"Clay Material","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"hard_clay_material":{"title":"Hard Clay Material","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"bryce_pillars":{"title":"Bryce Pillars","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"boolean"},"has_forest":{"title":"Has Forest","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"boolean"}}},"H":{"title":"Mountain parameters","description":"Noise parameters used to drive mountain terrain generation in Overworld.","type":"object","additionalProperties":false,"minProperties":0,"maxProperties":3,"properties":{"peaks_factor":{"type":"number","title":"Peaks factor","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"steep_material_adjustment":{"type":"object","title":"Steep material adjustment","description":"Defines surface material for steep slopes.","additionalProperties":false,"properties":{"material":{"type":"string","title":"Material","description":"Block type use as steep material."},"north_slopes":{"type":"boolean","title":"North slopes","description":"Enable for north facing slopes."},"south_slopes":{"type":"boolean","title":"South slopes","description":"Enable for south facing slopes."},"west_slopes":{"type":"boolean","title":"West slopes","description":"Enable for west facing slopes."},"east_slopes":{"type":"boolean","title":"East slopes","description":"Enable for east facing slopes."}}},"top_slide":{"title":"Top slide","description":"Controls the density tapering that happens at the top of the world to prevent terrain from reaching too high.","type":"object","additionalProperties":false,"properties":{"enabled":{"title":"Enabled","description":"If false, top slide will be disabled. If true, other parameters will be taken into account"}}}}},"I":{"title":"Nether Generation Rules","description":"Controls how this biome is instantiated (and then potentially modified) during world generation of the nether.","type":"object","additionalProperties":false,"properties":{"target_temperature":{"title":"Target Temperature","description":"Temperature with which this biome should selected, relative to other biomes.","type":"number"},"target_humidity":{"title":"Target Humidity","description":"Humidity with which this biome should selected, relative to other biomes.","type":"number"},"target_altitude":{"title":"Target Altitude","description":"Altitude with which this biome should selected, relative to other biomes.","type":"number"},"target_weirdness":{"title":"Target Weirdness","description":"Weirdness with which this biome should selected, relative to other biomes.","type":"number"},"weight":{"title":"Weight","description":"Weight with which this biome should selected, relative to other biomes.","type":"number"}}},"J":{"title":"Nether Surface","description":"Use default Minecraft Nether terrain generation.","type":"object","additionalProperties":false,"properties":{}},"BA_transformation":{"oneOf":[{"type":"string","title":"Block Reference","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},{"type":"array","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Block Reference","minItems":1,"items":{"oneOf":[{"type":"string","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Block Reference"},{"type":"array","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":[{"title":"Biome Reference","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},{"title":"_","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"integer"}]}]}}]},"BA":{"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,"properties":{"hills_transformation":{"title":"Hills Transformation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BA_transformation"},"mutate_transformation":{"title":"Mutate Transformation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BA_transformation"},"river_transformation":{"title":"River Transformation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BA_transformation"},"shore_transformation":{"title":"Shore Transformation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BA_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":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":[{"title":"Climate Category","description":"Name of a climate category.","type":"string","enum":["medium","warm","lukewarm","cold","frozen"]},{"title":"Weight","description":"Weight with which this biome should be selected, relative to other biomes in the same category.","type":"integer"}]}}}},"BB":{"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":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":[{"type":"number"},{"type":"number"}]},"noise_type":{"title":"Noise Type","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string","enum":["stone_beach","deep_ocean","default","default_mutated","lowlands","river","ocean","taiga","mountains","highlands","mushroom","less_extreme","extreme","beach","swamp"]}}},"BD":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":["(1.0)","(0.0)"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"BC":{"title":"Surface Material Adjustments","description":"Specify fine-detail changes to blocks used in terrain generation (based on a noise function).","type":"object","additionalProperties":false,"properties":{"adjustments":{"title":"Adjustments","description":"All adjustments that match the column's noise values will be applied in the order listed.","items":{"title":"Adjustment","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"height_range":{"title":"Height Range","description":"Defines a range of noise values [min, max] for which this adjustment should be applied.","type":"array","items":[{"$ref":"#/definitions/BD","title":"Min"},{"$ref":"#/definitions/BD","title":"Max"}]},"materials":{"title":"Materials","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"top_material":{"title":"Top Material","description":"Controls the block type used for the surface of this biome when this adjustment is active.","type":"string"},"mid_material":{"title":"Mid Material","description":"Controls the block type used in a layer below the surface of this biome when this adjustment is active.","type":"string"},"sea_floor_material":{"title":"Sea Floor Material","description":"Controls the block type used as a floor for bodies of water in this biome when this adjustment is active.","type":"string"},"foundation_material":{"title":"Top Materials","description":"Controls the block type used deep underground in this biome when this adjustment is active.","type":"string"},"sea_material":{"title":"Top Materials","description":"Controls the block type used in the bodies of water in this biome when this adjustment is active.","type":"string"}}},"noise_range":{"title":"Noise Range","description":"Defines a range of noise values [min, max] for which this adjustment should be applied.","type":"array","items":[{"minimum":-1,"maximum":1,"title":"Min"},{"minimum":-1,"maximum":1,"title":"Max"}]}}}}}},"BE":{"title":"Surface Parameters","description":"Control the blocks used for the default Minecraft Overworld terrain generation.","type":"object","minProperties":0,"maxProperties":6,"additionalProperties":false,"properties":{"top_material":{"title":"Top Material","description":"Controls the block type used for the surface of this biome.","string":"string"},"mid_material":{"title":"Mid Material","description":"Controls the block type used in a layer below the surface of this biome.","string":"string"},"sea_floor_material":{"title":"Sea Floor Material","description":"Controls the block type used as a floor for bodies of water in this biome.","string":"boostringlean"},"foundation_material":{"title":"Foundation Material","description":"Controls the block type used deep underground in this biome.","string":"string"},"sea_material":{"title":"Sea Material","description":"Controls the block type used for the bodies of water in this biome.","string":"string"},"sea_floor_depth":{"title":"Sea Floor Depth","description":"Controls how deep below the world water level the floor should occur.","type":"integer"}}},"BF":{"title":"Swamp Surface","description":"Similar to overworld_surface. Adds swamp surface details.","type":"object","minProperties":0,"maxProperties":6,"additionalProperties":false,"properties":{"top_material":{"title":"Top Material","description":"Controls the block type used for the surface of this biome.","string":"string"},"mid_material":{"title":"Mid Material","description":"Controls the block type used in a layer below the surface of this biome.","string":"string"},"sea_floor_material":{"title":"Sea Floor Material","description":"Controls the block type used as a floor for bodies of water in this biome.","string":"boostringlean"},"foundation_material":{"title":"Foundation Material","description":"Controls the block type used deep underground in this biome.","string":"string"},"sea_material":{"title":"Sea Material","description":"Controls the block type used for the bodies of water in this biome.","string":"string"},"sea_floor_depth":{"title":"Sea Floor Depth","description":"Controls how deep below the world water level the floor should occur.","type":"integer"}}},"BG":{"title":"End Surface","description":"Use default Minecraft End terrain generation.","type":"object","additionalProperties":false,"properties":{}}}}