-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathbiomes.json
1 lines (1 loc) · 6.06 KB
/
biomes.json
1
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.biomes","title":"Client Biome","description":"Minecraft client_biome files define client-side settings for biomes in resource packs. This is the new preferred location for per-biome settings that used to be in biomes_client.json.","type":"object","required":["format_version","minecraft:client_biome"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:client_biome":{"$ref":"#/definitions/B"}},"defaultSnippets":[{"label":"New client biome","body":{"format_version":"${1:1.21.40}","minecraft:client_biome":{"description":{"identifier":"${3:${TM_FILENAME/[\\.].*//}}"},"components":"^{$4}"}}}],"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_components_ref":{"type":"object","title":"Components","description":"Any components that this Client Biome uses.","additionalProperties":false,"properties":{"minecraft:ambient_sounds":{"$ref":"#/definitions/C"},"minecraft:biome_music":{"$ref":"#/definitions/D"},"minecraft:fog_appearance":{"$ref":"#/definitions/E"},"minecraft:foliage_appearance":{"$ref":"#/definitions/F"},"minecraft:grass_appearance":{"$ref":"#/definitions/G"},"minecraft:sky_color":{"$ref":"#/definitions/H"},"minecraft:water_appearance":{"$ref":"#/definitions/I"}}},"C":{"title":"Ambient Sounds","description":"Sets the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file.","type":"object","additionalProperties":false,"properties":{"addition":{"title":"Addition","description":"Named sound that occasionally plays at the listener position.","type":"string"},"loop":{"title":"Loop","description":"Named sound that loops while the listener position is inside the biome.","type":"string"},"mood":{"title":"Mood","description":"Named sound that rarely plays at a nearby air block position when the light level is low.","type":"string","default":"ambient.cave"}}},"D":{"title":"Biome Music","description":"Affects how music plays within the biome.","type":"object","additionalProperties":false,"properties":{"volume_multiplier":{"title":"Volume Multiplier","description":"Multiplier temporarily and gradually applied to music volume when within this biome.","type":"number","minimum":0,"maximum":1}}},"E":{"title":"Fog Appearance","description":"Set the fog settings used during rendering. Biomes without this component will have default fog settings.","type":"object","required":["fog_identifier"],"additionalProperties":false,"properties":{"fog_identifier":{"title":"Fog Identifier","description":"Identifier of fog definition to use.","type":"string"}}},"F":{"title":"Foliage Appearance","description":"Set the foliage color or color map used during rendering. Biomes without this component will have default foliage appearance.","type":"object","required":["color"],"additionalProperties":false,"properties":{"color":{"title":"Color","description":"RGB color of foliage, or a Foliage Color Map object.","default":{"color_map":"foliage"},"examples":["#FFFFFF",[255,255,255]],"oneOf":[{"type":"string","format":"color-hex"},{"type":"array","minItems":3,"maxItems":3,"additionalItems":false,"items":{"type":"integer","minimum":0,"maximum":255}},{"type":"object","required":["color_map"],"additionalProperties":false,"properties":{"color_map":{"title":"Color Map","description":"Color map from textures/colormap to determine color of foliage.","enum":["birch","evergreen","foliage","mangrove_swamp_foliage","swamp_foliage"],"default":"foliage"}}}]}}},"G":{"title":"Grass Appearance","description":"Set the grass color or color map used during rendering. Biomes without this component will have default grass appearance.","type":"object","required":["color"],"additionalProperties":false,"properties":{"color":{"title":"Color","description":"RGB color of grass, or a Grass Color Map object.","default":{"color_map":"grass"},"examples":["#FFFFFF",[255,255,255]],"oneOf":[{"type":"string","format":"color-hex"},{"type":"array","minItems":3,"maxItems":3,"additionalItems":false,"items":{"type":"integer","minimum":0,"maximum":255}},{"type":"object","required":["color_map"],"additionalProperties":false,"properties":{"color_map":{"title":"Color Map","description":"Color map from textures/colormap to determine color of grass.","enum":["grass","swamp_grass"],"default":"grass"}}}]}}},"H":{"title":"Sky Color","description":"Set the sky color used during rendering. Biomes without this component will have default sky color behavior.","type":"object","required":["sky_color"],"additionalProperties":false,"properties":{"sky_color":{"title":"Sky Color","description":"RGB color of the sky.","type":"string","format":"color-hex","examples":["#FFFFFF"]}}},"I":{"title":"Water Appearance","description":"Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior.","type":"object","required":["surface_color"],"additionalProperties":false,"properties":{"surface_color":{"title":"Surface Color","description":"RGB color of the water surface.","type":"string","format":"color-hex","examples":["#FFFFFF"]}}},"B":{"title":"Client Biome Definitions","description":"A client biome definition.","type":"object","additionalProperties":false,"required":["description","components"],"properties":{"description":{"title":"Client Biome Description","description":"Contains non-component settings for a Client Biome.","type":"object","additionalProperties":false,"required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"The name of the Client Biome, used by other features like the '/locate biome' command. Must match the name of a Biome defined by the game or a behavior pack.","type":"string"}}},"components":{"$ref":"#/definitions/B_components_ref"}}}}}