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