mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-24 15:06:14 +00:00
398 lines
13 KiB
JSON
398 lines
13 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "3883188534",
|
|
"definitions": {
|
|
"1088251937": {
|
|
"title": "Filter Group",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/4150989894"
|
|
},
|
|
{
|
|
"title": "sequence container",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/1088251937"
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"AND": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"NOT": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"OR": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"all": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"all_of": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"any": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"any_of": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"none_of": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Filter Group v1.21.20"
|
|
}
|
|
},
|
|
"2125594252": {
|
|
"title": "Feature Rule Definition",
|
|
"type": "object",
|
|
"properties": {
|
|
"conditions": {
|
|
"$ref": "#/definitions/4231469203",
|
|
"$metaProperties": {}
|
|
},
|
|
"description": {
|
|
"$ref": "#/definitions/3683814853",
|
|
"$metaProperties": {}
|
|
},
|
|
"distribution": {
|
|
"$ref": "#/definitions/2195141389",
|
|
"$metaProperties": {}
|
|
}
|
|
},
|
|
"required": [
|
|
"conditions",
|
|
"description"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false
|
|
}
|
|
},
|
|
"2176758423": {
|
|
"title": "Scatter Chance",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"denominator": {
|
|
"type": "integer",
|
|
"$metaProperties": {},
|
|
"minimum": 1.0
|
|
},
|
|
"numerator": {
|
|
"type": "integer",
|
|
"$metaProperties": {},
|
|
"minimum": 1.0
|
|
}
|
|
},
|
|
"required": [
|
|
"denominator",
|
|
"numerator"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Scatter Chance v1.21.10"
|
|
}
|
|
},
|
|
"2195141389": {
|
|
"title": "Scatter Params",
|
|
"type": "object",
|
|
"properties": {
|
|
"coordinate_eval_order": {
|
|
"title": "Coordinate Evaluation Order",
|
|
"type": "string",
|
|
"enum": [
|
|
"xyz",
|
|
"xzy",
|
|
"yxz",
|
|
"yzx",
|
|
"zxy",
|
|
"zyx"
|
|
],
|
|
"$metaProperties": {}
|
|
},
|
|
"iterations": {
|
|
"$ref": "#/definitions/3178719147",
|
|
"$metaProperties": {}
|
|
},
|
|
"scatter_chance": {
|
|
"$ref": "#/definitions/2176758423",
|
|
"$metaProperties": {}
|
|
},
|
|
"x": {
|
|
"$ref": "#/definitions/4150871210",
|
|
"$metaProperties": {}
|
|
},
|
|
"y": {
|
|
"$ref": "#/definitions/4150871210",
|
|
"$metaProperties": {}
|
|
},
|
|
"z": {
|
|
"$ref": "#/definitions/4150871210",
|
|
"$metaProperties": {}
|
|
}
|
|
},
|
|
"required": [
|
|
"iterations",
|
|
"x",
|
|
"y",
|
|
"z"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Scatter Params v1.21.10"
|
|
}
|
|
},
|
|
"3178719147": {
|
|
"title": "struct SharedTypes::Legacy::ExpressionNode",
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"expression": {
|
|
"type": "string",
|
|
"$metaProperties": {}
|
|
},
|
|
"version": {
|
|
"type": "integer",
|
|
"$metaProperties": {}
|
|
}
|
|
},
|
|
"required": [
|
|
"expression",
|
|
"version"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_JSON_SCHEMA": "Expression Node"
|
|
}
|
|
},
|
|
"3683814853": {
|
|
"title": "Feature Rule Description",
|
|
"type": "object",
|
|
"properties": {
|
|
"identifier": {
|
|
"type": "string",
|
|
"$metaProperties": {}
|
|
},
|
|
"places_feature": {
|
|
"type": "string",
|
|
"$metaProperties": {}
|
|
}
|
|
},
|
|
"required": [
|
|
"identifier",
|
|
"places_feature"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false
|
|
}
|
|
},
|
|
"4150871210": {
|
|
"title": "Coordinate Range",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"distribution": {
|
|
"title": "Random Distribution Type",
|
|
"type": "string",
|
|
"enum": [
|
|
"fixed_grid",
|
|
"gaussian",
|
|
"inverse_gaussian",
|
|
"jittered_grid",
|
|
"triangle",
|
|
"uniform"
|
|
],
|
|
"$metaProperties": {}
|
|
},
|
|
"extent": {
|
|
"title": "sequence container",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
"$metaProperties": {},
|
|
"minItems": 2,
|
|
"maxItems": 2
|
|
},
|
|
"grid_offset": {
|
|
"type": "integer",
|
|
"$metaProperties": {},
|
|
"minimum": 0.0
|
|
},
|
|
"step_size": {
|
|
"type": "integer",
|
|
"$metaProperties": {},
|
|
"minimum": 1.0
|
|
}
|
|
},
|
|
"required": [
|
|
"distribution",
|
|
"extent"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Coordinate Range v1.21.10"
|
|
}
|
|
},
|
|
"4150989894": {
|
|
"title": "Filter Test",
|
|
"type": "object",
|
|
"properties": {
|
|
"domain": {
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"$metaProperties": {}
|
|
},
|
|
"operator": {
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"$metaProperties": {}
|
|
},
|
|
"subject": {
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"$metaProperties": {}
|
|
},
|
|
"test": {
|
|
"type": "string",
|
|
"$metaProperties": {}
|
|
},
|
|
"value": {
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"$metaProperties": {}
|
|
}
|
|
},
|
|
"required": [
|
|
"test"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Filter Test v1.21.20"
|
|
}
|
|
},
|
|
"4231469203": {
|
|
"title": "Feature Rule Conditions",
|
|
"type": "object",
|
|
"properties": {
|
|
"minecraft:biome_filter": {
|
|
"$ref": "#/definitions/1088251937",
|
|
"$metaProperties": {}
|
|
},
|
|
"placement_pass": {
|
|
"type": "string",
|
|
"$metaProperties": {}
|
|
}
|
|
},
|
|
"required": [
|
|
"placement_pass"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false
|
|
}
|
|
}
|
|
},
|
|
"title": "Feature Rule JSON File",
|
|
"type": "object",
|
|
"properties": {
|
|
"format_version": {
|
|
"type": "string",
|
|
"$metaProperties": {}
|
|
},
|
|
"minecraft:feature_rules": {
|
|
"$ref": "#/definitions/2125594252",
|
|
"$metaProperties": {}
|
|
}
|
|
},
|
|
"required": [
|
|
"format_version",
|
|
"minecraft:feature_rules"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Feature Rule v1.21.20"
|
|
}
|
|
} |