1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-27 08:35:14 +00:00
Files
bedrock-samples/metadata/json_schemas/client/biome/1.21.90/Client Biome Document.json
2025-09-09 10:02:11 -07:00

388 lines
14 KiB
JSON

{
"$id": "357194639",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1322645464": {
"title": "Reference",
"type": "string"
},
"1527331705": {
"title": "Reference",
"type": "string"
},
"1894305624": {
"description": "Object specifying a color map for grass instead of a specific color.",
"properties": {
"color_map": {
"description": "Color map from textures/colormap to determine color of grass.",
"enum": [
"grass",
"swamp_grass"
],
"title": "Grass Colormap",
"type": "string"
}
},
"required": [
"color_map"
],
"title": "Grass Color Map",
"type": "object"
},
"2282391920": {
"description": "Any components that this Client Biome uses",
"properties": {
"minecraft:ambient_sounds": {
"$ref": "#/definitions/2544684648",
"description": "Set the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file."
},
"minecraft:atmosphere_identifier": {
"$ref": "#/definitions/3762876268",
"description": "Set the identifier used for atmospherics in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Atmospheric Scattering JSON schemas under the \"atmospherics\" directory. Biomes without this component will have default atmosphere settings."
},
"minecraft:biome_music": {
"$ref": "#/definitions/4184661767",
"description": "Affect how music plays within the biome"
},
"minecraft:color_grading_identifier": {
"$ref": "#/definitions/3904986305",
"description": "Set the identifier used for color grading in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Color Grading JSON schemas under the \"color_grading\" directory. Biomes without this component will have default color_grading settings."
},
"minecraft:dry_foliage_color": {
"$ref": "#/definitions/444653910",
"description": "Set the dry foliage color used during rendering. Biomes without this component will have default dry foliage color behavior."
},
"minecraft:fog_appearance": {
"$ref": "#/definitions/783532490",
"description": "Set the fog settings used during rendering. Biomes without this component will have default fog settings."
},
"minecraft:foliage_appearance": {
"$ref": "#/definitions/3713296728",
"description": "Set the foliage color or color map used during rendering. Biomes without this component will have default foliage appearance."
},
"minecraft:grass_appearance": {
"$ref": "#/definitions/569860384",
"description": "Set the grass color or color map used during rendering. Biomes without this component will have default grass appearance."
},
"minecraft:lighting_identifier": {
"$ref": "#/definitions/2571640896",
"description": "Set the identifier used for lighting in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Lighting JSON schemas under the \"lighting\" directory. Biomes without this component will have default lighting settings."
},
"minecraft:sky_color": {
"$ref": "#/definitions/658145120",
"description": "Set the sky color used during rendering. Biomes without this component will have default sky color behavior."
},
"minecraft:water_appearance": {
"$ref": "#/definitions/4061100221",
"description": "Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior."
},
"minecraft:water_identifier": {
"$ref": "#/definitions/2503601769",
"description": "Set the identifier used for rendering water in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Water JSON schemas under the \"water\" directory. Biomes without this component will have default water settings."
}
},
"title": "Client Biome Components",
"type": "object"
},
"2503601769": {
"description": "Set the identifier used for rendering water in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Water JSON schemas under the \"water\" directory. Biomes without this component will have default water settings.",
"properties": {
"water_identifier": {
"$ref": "#/definitions/2527487449",
"description": "Identifier of water definition to use"
}
},
"required": [
"water_identifier"
],
"title": "minecraft:water_identifier",
"type": "object"
},
"2527487449": {
"title": "Reference",
"type": "string"
},
"2544684648": {
"description": "Set the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file.",
"properties": {
"addition": {
"$ref": "#/definitions/379658027",
"description": "Named sound that occasionally plays at the listener position"
},
"loop": {
"$ref": "#/definitions/379658027",
"description": "Named sound that loops while the listener position is inside the biome"
},
"mood": {
"$ref": "#/definitions/379658027",
"description": "Named sound that rarely plays at a nearby air block position when the light level is low. Biomes without an ambient mood sound will use the 'ambient.cave' sound."
}
},
"title": "minecraft:ambient_sounds",
"type": "object"
},
"2571640896": {
"description": "Set the identifier used for lighting in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Lighting JSON schemas under the \"lighting\" directory. Biomes without this component will have default lighting settings.",
"properties": {
"lighting_identifier": {
"$ref": "#/definitions/1322645464",
"description": "Identifier of lighting definition to use"
}
},
"required": [
"lighting_identifier"
],
"title": "minecraft:lighting_identifier",
"type": "object"
},
"3471754814": {
"title": "Reference",
"type": "string"
},
"3639487318": {
"title": "Reference",
"type": "string"
},
"3673189651": {
"title": "Reference",
"type": "string"
},
"3713296728": {
"description": "Set the foliage color or color map used during rendering. Biomes without this component will have default foliage appearance.",
"properties": {
"color": {
"description": "RGB color of foliage, or a Foliage Color Map object.",
"oneOf": [
{
"$ref": "#/definitions/3915697282"
},
{
"$ref": "#/definitions/969725495",
"description": "Object specifying a color map for foliage instead of a specific color."
}
]
}
},
"title": "minecraft:foliage_appearance",
"type": "object"
},
"3762876268": {
"description": "Set the identifier used for atmospherics in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Atmospheric Scattering JSON schemas under the \"atmospherics\" directory. Biomes without this component will have default atmosphere settings.",
"properties": {
"atmosphere_identifier": {
"$ref": "#/definitions/1527331705",
"description": "Identifier of atmosphere definition to use"
}
},
"required": [
"atmosphere_identifier"
],
"title": "minecraft:atmosphere_identifier",
"type": "object"
},
"379658027": {
"title": "Reference",
"type": "string"
},
"3904986305": {
"description": "Set the identifier used for color grading in Vibrant Visuals mode. Identifiers must resolve to identifiers in valid Color Grading JSON schemas under the \"color_grading\" directory. Biomes without this component will have default color_grading settings.",
"properties": {
"color_grading_identifier": {
"$ref": "#/definitions/3673189651",
"description": "Identifier of color_grading definition to use"
}
},
"required": [
"color_grading_identifier"
],
"title": "minecraft:color_grading_identifier",
"type": "object"
},
"3915697282": {
"$metaProperties": {
"CEREAL_EDITOR_SCHEMA_TAG": "type:color"
},
"oneOf": [
{
"pattern": "^#[a-fA-F0-9]{6}$",
"type": "string"
},
{
"items": {
"type": "integer"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
}
],
"title": "Color255RGB"
},
"4061100221": {
"description": "Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior.",
"properties": {
"surface_color": {
"$ref": "#/definitions/3915697282",
"description": "RGB color of the water surface"
},
"surface_opacity": {
"description": "Opacity of the water surface (must be between 0 for invisible and 1 for opaque, inclusive)",
"type": "number"
}
},
"title": "minecraft:water_appearance",
"type": "object"
},
"4184661767": {
"description": "Affect how music plays within the biome",
"properties": {
"music_definition": {
"$ref": "#/definitions/3471754814",
"description": "Music to be played when inside this biome. If left off or not found the default music will be determined by the dimension. Empty string will result in no music."
},
"volume_multiplier": {
"description": "Multiplier temporarily and gradually applied to music volume when within this biome. Must be a value between 0 and 1, inclusive.",
"type": "number"
}
},
"title": "minecraft:biome_music",
"type": "object"
},
"444653910": {
"description": "Set the dry foliage color used during rendering. Biomes without this component will have default dry foliage color behavior.",
"properties": {
"color": {
"$ref": "#/definitions/3915697282",
"description": "RGB color of dry foliage"
}
},
"required": [
"color"
],
"title": "minecraft:dry_foliage_color",
"type": "object"
},
"569860384": {
"description": "Set the grass color or color map used during rendering. Biomes without this component will have default grass appearance.",
"properties": {
"color": {
"description": "RGB color of grass.",
"oneOf": [
{
"$ref": "#/definitions/3915697282"
},
{
"$ref": "#/definitions/1894305624",
"description": "Object specifying a color map for grass instead of a specific color."
}
]
}
},
"title": "minecraft:grass_appearance",
"type": "object"
},
"627767384": {
"description": "Contains non-component settings for a Client Biome.",
"properties": {
"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.",
"pattern": "^[a-z0-9._%+-]+:[a-z0-9._%+-]+$",
"type": "string"
}
},
"required": [
"identifier"
],
"title": "Client Biome Description",
"type": "object"
},
"658145120": {
"description": "Set the sky color used during rendering. Biomes without this component will have default sky color behavior.",
"properties": {
"sky_color": {
"$ref": "#/definitions/3915697282",
"description": "RGB color of the sky"
}
},
"required": [
"sky_color"
],
"title": "minecraft:sky_color",
"type": "object"
},
"751048717": {
"description": "Contains a description and components to define a Client Biome.",
"properties": {
"components": {
"$ref": "#/definitions/2282391920",
"description": "Components for this Client Biome."
},
"description": {
"$ref": "#/definitions/627767384",
"description": "Non-component settings, including the Client Biome name."
}
},
"required": [
"components",
"description"
],
"title": "Client Biome Definition",
"type": "object"
},
"783532490": {
"description": "Set the fog settings used during rendering. Biomes without this component will have default fog settings.",
"properties": {
"fog_identifier": {
"$ref": "#/definitions/3639487318",
"description": "Identifier of fog definition to use"
}
},
"required": [
"fog_identifier"
],
"title": "minecraft:fog_appearance",
"type": "object"
},
"969725495": {
"description": "Object specifying a color map for foliage instead of a specific color.",
"properties": {
"color_map": {
"description": "Color map from textures/colormap to determine color of foliage.",
"enum": [
"foliage",
"birch",
"evergreen",
"mangrove_swamp_foliage",
"swamp_foliage",
"dry_foliage"
],
"title": "Foliage Colormap",
"type": "string"
}
},
"required": [
"color_map"
],
"title": "Foliage Color Map",
"type": "object"
}
},
"description": "Contains a format version and a Client Biome definition",
"properties": {
"format_version": {
"description": "Version of the JSON schema used by this file",
"type": "string"
},
"minecraft:client_biome": {
"$ref": "#/definitions/751048717",
"description": "A single Client Biome definition, containing rendering or sound settings related to a Biome defined by the game or a behavior pack"
}
},
"required": [
"format_version",
"minecraft:client_biome"
],
"title": "Client Biome JSON File",
"type": "object",
"x-format-version": "1.21.90"
}