1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-27 16:45:12 +00:00
Files
bedrock-samples/metadata/json_schemas/client/biome/1.21.70/Foliage Appearance Client Biome Component.json
2025-09-09 10:02:11 -07:00

67 lines
1.7 KiB
JSON

{
"$id": "3713296728",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"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"
},
"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": "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",
"x-format-version": "1.21.70"
}