mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-21 20:46:28 +00:00
88 lines
3.0 KiB
JSON
88 lines
3.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "4150871210",
|
|
"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": "Coordinate Range",
|
|
"description": "Represents the scatter distrubution over a coordinate (x/y/z), can also be built by an expression.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"distribution": {
|
|
"title": "Random Distribution Type",
|
|
"description": "Type of distribution. Supported distributions are defined by \"Random Distribution Type\".",
|
|
"type": "string",
|
|
"enum": [
|
|
"fixed_grid",
|
|
"gaussian",
|
|
"inverse_gaussian",
|
|
"jittered_grid",
|
|
"triangle",
|
|
"uniform"
|
|
]
|
|
},
|
|
"extent": {
|
|
"title": "sequence container",
|
|
"description": "Lower and upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
"minItems": 2,
|
|
"maxItems": 2
|
|
},
|
|
"grid_offset": {
|
|
"description": "When the distribution type is grid, defines the offset along this axis.",
|
|
"type": "integer",
|
|
"minimum": 0.0
|
|
},
|
|
"step_size": {
|
|
"description": "When the distribution type is grid, defines the distance between steps along this axis.",
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
}
|
|
},
|
|
"required": [
|
|
"distribution",
|
|
"extent"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Coordinate Range v1.21.10"
|
|
}
|
|
} |