mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-21 21:56:13 +00:00
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "2176758423",
|
|
"definitions": {
|
|
"3178719147": {
|
|
"title": "struct SharedTypes::Legacy::ExpressionNode",
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"expression": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"expression",
|
|
"version"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_JSON_SCHEMA": "Expression Node"
|
|
}
|
|
}
|
|
},
|
|
"title": "Scatter Chance",
|
|
"description": "Scatter probability represented by an expression or an object with a numerator and denominator.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"denominator": {
|
|
"description": "Denominator for scatter probability.",
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
},
|
|
"numerator": {
|
|
"description": "Numerator for scatter probability.",
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
}
|
|
},
|
|
"required": [
|
|
"denominator",
|
|
"numerator"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Scatter Chance v1.21.10"
|
|
}
|
|
} |