mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-09-28 03:12:52 +00:00
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"$id": "1754577721",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"2318322665": {
|
|
"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"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"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/2318322665",
|
|
"description": "Object specifying a color map for grass instead of a specific color."
|
|
}
|
|
]
|
|
},
|
|
"grass_is_shaded": {
|
|
"description": "Adds a shading effect to the grass as if there was a roof.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"title": "minecraft:grass_appearance",
|
|
"type": "object",
|
|
"x-format-version": "1.21.100"
|
|
} |