mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-04-11 21:59:58 +00:00
65 lines
2.1 KiB
JSON
65 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "4147961405",
|
|
"definitions": {
|
|
"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)]"
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |