mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-04-11 01:00:29 +00:00
266 lines
11 KiB
JSON
266 lines
11 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "4009772340",
|
|
"definitions": {
|
|
"1894305624": {
|
|
"title": "Grass Color Map",
|
|
"description": "Object specifying a color map for grass instead of a specific color.",
|
|
"type": "object",
|
|
"properties": {
|
|
"color_map": {
|
|
"title": "Grass Colormap",
|
|
"description": "Color map from textures/colormap to determine color of grass.",
|
|
"type": "string",
|
|
"enum": [
|
|
"grass",
|
|
"swamp_grass"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"color_map"
|
|
]
|
|
},
|
|
"3250030827": {
|
|
"title": "minecraft:biome_music",
|
|
"description": "Affect how music plays within the biome",
|
|
"type": "object",
|
|
"properties": {
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"180702932": {
|
|
"title": "Client Biome Definition",
|
|
"description": "Contains a description and components to define a Client Biome.",
|
|
"type": "object",
|
|
"properties": {
|
|
"components": {
|
|
"description": "Components for this Client Biome.",
|
|
"$ref": "#/definitions/2660458847"
|
|
},
|
|
"description": {
|
|
"description": "Non-component settings, including the Client Biome name.",
|
|
"$ref": "#/definitions/3072409085"
|
|
}
|
|
},
|
|
"required": [
|
|
"description",
|
|
"components"
|
|
]
|
|
},
|
|
"2660458847": {
|
|
"title": "Client Biome Components",
|
|
"description": "Any components that this Client Biome uses",
|
|
"type": "object",
|
|
"properties": {
|
|
"minecraft:sky_color": {
|
|
"description": "Set the sky color used during rendering. Biomes without this component will have default sky color behavior.",
|
|
"$ref": "#/definitions/658145120"
|
|
},
|
|
"minecraft:ambient_sounds": {
|
|
"description": "Set the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file.",
|
|
"$ref": "#/definitions/2544684648"
|
|
},
|
|
"minecraft:fog_appearance": {
|
|
"description": "Set the fog settings used during rendering. Biomes without this component will have default fog settings.",
|
|
"$ref": "#/definitions/783532490"
|
|
},
|
|
"minecraft:water_appearance": {
|
|
"description": "Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior.",
|
|
"$ref": "#/definitions/4061100221"
|
|
},
|
|
"minecraft:foliage_appearance": {
|
|
"description": "Set the foliage color or color map used during rendering. Biomes without this component will have default foliage appearance.",
|
|
"$ref": "#/definitions/4147961405"
|
|
},
|
|
"minecraft:grass_appearance": {
|
|
"description": "Set the grass color or color map used during rendering. Biomes without this component will have default grass appearance.",
|
|
"$ref": "#/definitions/569860384"
|
|
},
|
|
"minecraft:biome_music": {
|
|
"description": "Affect how music plays within the biome",
|
|
"$ref": "#/definitions/3250030827"
|
|
}
|
|
}
|
|
},
|
|
"2791086866": {
|
|
"title": "Foliage Color Map",
|
|
"description": "Object specifying a color map for foliage instead of a specific color.",
|
|
"type": "object",
|
|
"properties": {
|
|
"color_map": {
|
|
"title": "Foliage Colormap",
|
|
"description": "Color map from textures/colormap to determine color of foliage.",
|
|
"type": "string",
|
|
"enum": [
|
|
"foliage",
|
|
"birch",
|
|
"evergreen",
|
|
"mangrove_swamp_foliage",
|
|
"swamp_foliage"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"color_map"
|
|
]
|
|
},
|
|
"4147961405": {
|
|
"title": "minecraft:foliage_appearance",
|
|
"description": "Set the foliage color or color map used during rendering. Biomes without this component will have default foliage appearance.",
|
|
"type": "object",
|
|
"properties": {
|
|
"color": {
|
|
"description": "RGB color of foliage, or a Foliage Color Map object.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/3915697282"
|
|
},
|
|
{
|
|
"description": "Object specifying a color map for foliage instead of a specific color.",
|
|
"$ref": "#/definitions/2791086866"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"569860384": {
|
|
"title": "minecraft:grass_appearance",
|
|
"description": "Set the grass color or color map used during rendering. Biomes without this component will have default grass appearance.",
|
|
"type": "object",
|
|
"properties": {
|
|
"color": {
|
|
"description": "RGB color of grass.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/3915697282"
|
|
},
|
|
{
|
|
"description": "Object specifying a color map for grass instead of a specific color.",
|
|
"$ref": "#/definitions/1894305624"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"3915697282": {
|
|
"title": "Color255RGB",
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_EDITOR_SCHEMA_TAG": "[editor(type:color)]"
|
|
}
|
|
},
|
|
"2544684648": {
|
|
"title": "minecraft:ambient_sounds",
|
|
"description": "Set the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file.",
|
|
"type": "object",
|
|
"properties": {
|
|
"addition": {
|
|
"description": "Named sound that occasionally plays at the listener position",
|
|
"type": "string"
|
|
},
|
|
"loop": {
|
|
"description": "Named sound that loops while the listener position is inside the biome",
|
|
"type": "string"
|
|
},
|
|
"mood": {
|
|
"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.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"658145120": {
|
|
"title": "minecraft:sky_color",
|
|
"description": "Set the sky color used during rendering. Biomes without this component will have default sky color behavior.",
|
|
"type": "object",
|
|
"properties": {
|
|
"sky_color": {
|
|
"description": "RGB color of the sky",
|
|
"$ref": "#/definitions/3915697282"
|
|
}
|
|
},
|
|
"required": [
|
|
"sky_color"
|
|
]
|
|
},
|
|
"783532490": {
|
|
"title": "minecraft:fog_appearance",
|
|
"description": "Set the fog settings used during rendering. Biomes without this component will have default fog settings.",
|
|
"type": "object",
|
|
"properties": {
|
|
"fog_identifier": {
|
|
"description": "Identifier of fog definition to use",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"fog_identifier"
|
|
]
|
|
},
|
|
"4061100221": {
|
|
"title": "minecraft:water_appearance",
|
|
"description": "Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior.",
|
|
"type": "object",
|
|
"properties": {
|
|
"surface_color": {
|
|
"description": "RGB color of the water surface",
|
|
"$ref": "#/definitions/3915697282"
|
|
},
|
|
"surface_opacity": {
|
|
"description": "Opacity of the water surface (must be between 0 for invisible and 1 for opaque, inclusive)",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"surface_color"
|
|
]
|
|
},
|
|
"3072409085": {
|
|
"title": "Client Biome Description",
|
|
"description": "Contains non-component settings for a Client Biome.",
|
|
"type": "object",
|
|
"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.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"identifier"
|
|
]
|
|
}
|
|
},
|
|
"title": "Client Biome JSON File",
|
|
"description": "Contains a format version and a Client Biome definition",
|
|
"type": "object",
|
|
"properties": {
|
|
"minecraft:client_biome": {
|
|
"description": "A single Client Biome definition, containing rendering or sound settings related to a Biome defined by the game or a behavior pack",
|
|
"$ref": "#/definitions/180702932"
|
|
},
|
|
"format_version": {
|
|
"description": "Version of the JSON schema used by this file",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"minecraft:client_biome",
|
|
"format_version"
|
|
]
|
|
} |