mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-08-26 04:12:25 +00:00
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "4061100221",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"title": "minecraft:water_appearance",
|
|
"description": "Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior.",
|
|
"type": "object",
|
|
"properties": {
|
|
"surface_color": {
|
|
"description": "RGB color of the water surface",
|
|
"$ref": "#/definitions/3915697282"
|
|
},
|
|
"surface_opacity": {
|
|
"description": "Opacity of the water surface (must be between 0 for invisible and 1 for opaque, inclusive)",
|
|
"type": "number"
|
|
}
|
|
}
|
|
} |