1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-01 01:00:54 +00:00
Files
bedrock-samples/metadata/json_schemas/client/1.21.40/biome/Grass Appearance Client Biome Component.json
Mike Ammerlaan c32ab2ac8e v1.21.100.6
2025-08-05 10:30:44 -07:00

68 lines
2.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1754577721",
"x-format-version": "1.21.40",
"x-minecraft-version": "1.21.100-beta.6",
"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": "type:color"
}
},
"2318322665": {
"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/2318322665"
}
]
},
"grass_is_shaded": {
"description": "Adds a shading effect to the grass as if there was a roof.",
"type": "boolean"
}
}
}