Files

1 line
11 KiB
JSON
Raw Permalink Normal View History

{"$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.60","examples":["1.21.50","1.20.80","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:atmosphere_identifier":{"$ref":"#/definitions/D"},"minecraft:biome_music":{"$ref":"#/definitions/E"},"minecraft:color_grading_identifier":{"$ref":"#/definitions/F"},"minecraft:dry_foliage_color":{"$ref":"#/definitions/G"},"minecraft:fog_appearance":{"$ref":"#/definitions/H"},"minecraft:foliage_appearance":{"$ref":"#/definitions/I"},"minecraft:grass_appearance":{"$ref":"#/definitions/J"},"minecraft:lighting_identifier":{"$ref":"#/definitions/BA"},"minecraft:sky_color":{"$ref":"#/definitions/BB"},"minecraft:precipitation":{"$ref":"#/definitions/BC"},"minecraft:water_appearance":{"$ref":"#/definitions/BD"},"minecraft:water_identifier":{"$ref":"#/definitions/BE"}}},"C_sound_addition":{"type":"object","additionalProperties":false,"properties":{"asset":{"title":"Asset","description":"Name of the sound asset to play","type":"string"},"chance":{"title":"Chance","description":"Probability of the sound playing each interval, between 0.0 and 1.0","type":"number","minimum":0,"maximum":1}}},"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.","oneOf":[{"type":"string"},{"$ref":"#/definitions/C_sound_addition"}]},"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"},"underwater_addition":{"title":"Underwater Addition","description":"Named sound that occasionally plays at the listener position when underwater.","$ref":"#/definitions/C_sound_addition"},"underwater_loop":{"title":"Underwater Loop","description":"Named sound that loops while the listener position is inside the biome and underwater.","type":"string"},"underwater_mood":{"title":"Underwater Mood","description":"Named sound that rarely plays at a nearby water block position when the light level is low.","type":"string","default":"ambient.underwater.loop"}}},"D":{"title":"Atmosphere Identifier","description":"Set the atmosphere settings used during deferred rendering.\nBiomes without this component will have default atmosphere settings.","type":"object","additionalProperties":false,"required":["atmosphere_identifier"],"properties":{"atmosphere_identifier":{"title":"Atmosphere Identifier","description":"Identifier of atmosphere definition to use","type":"string"}}},"E":{"title":"Biome Music","description":"Affects how