Files
minecraft-bedrock-json-schemas/resource/biomes/biomes.json
2024-12-05 15:54:47 +00:00

1 line
4.2 KiB
JSON
Generated

{"$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.20.81","examples":["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:sky_color":{"$ref":"#/definitions/F"},"minecraft:water_appearance":{"$ref":"#/definitions/G"}}},"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":"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"]}}},"G":{"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"}}}}}