1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-01-31 11:51:25 +00:00
bedrock-samples/metadata/json_schemas/world/v1.21.20/Processor Rule v1.21.20.json
Mike Ammerlaan 5ce65764d3 v1.21.50.7
2024-12-03 08:43:20 -08:00

316 lines
10 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3035388266",
"definitions": {
"1134690608": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::AppendLoot",
"type": "object",
"properties": {
"loot_table": {
"type": "string",
"$metaProperties": {}
},
"type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::BlockEntityModifierType",
"type": "string",
"enum": [
"minecraft:append_loot"
],
"$metaProperties": {}
}
},
"required": [
"loot_table",
"type"
],
"$metaProperties": {}
},
"1556792771": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::AlwaysTruePos",
"type": "object",
"properties": {
"predicate_type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::PosType",
"type": "string",
"enum": [
"minecraft:always_true"
],
"$metaProperties": {}
}
},
"required": [
"predicate_type"
],
"$metaProperties": {}
},
"2198589344": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::BlockMatch",
"type": "object",
"properties": {
"block": {
"type": "string",
"$metaProperties": {}
},
"predicate_type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::BlockType",
"type": "string",
"enum": [
"minecraft:block_match"
],
"$metaProperties": {}
}
},
"required": [
"block",
"predicate_type"
],
"$metaProperties": {}
},
"3034820683": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::TagMatch",
"type": "object",
"properties": {
"predicate_type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::BlockType",
"type": "string",
"enum": [
"minecraft:tag_match"
],
"$metaProperties": {}
},
"tag": {
"type": "string",
"$metaProperties": {}
}
},
"required": [
"predicate_type",
"tag"
],
"$metaProperties": {}
},
"3076687790": {
"title": "Block Specifier",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"$metaProperties": {}
},
"states": {
"title": "associative container",
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "string"
}
]
},
"$metaProperties": {}
}
},
"required": [
"name"
]
}
],
"$metaProperties": {}
},
"3523914459": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::RandomBlockMatch",
"type": "object",
"properties": {
"block": {
"type": "string",
"$metaProperties": {}
},
"predicate_type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::BlockType",
"type": "string",
"enum": [
"minecraft:random_block_match"
],
"$metaProperties": {}
},
"probability": {
"type": "number",
"$metaProperties": {},
"minimum": 0.0,
"exclusiveMaximum": 1.0
}
},
"required": [
"block",
"predicate_type",
"probability"
],
"$metaProperties": {}
},
"3839910888": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::AxisAlignedLinear",
"type": "object",
"properties": {
"axis": {
"title": "PositionalBlockRuleAxis",
"type": "string",
"enum": [
"x",
"y",
"z"
],
"$metaProperties": {}
},
"max_chance": {
"type": "number",
"$metaProperties": {},
"minimum": 0.0,
"exclusiveMaximum": 1.0
},
"max_dist": {
"type": "integer",
"$metaProperties": {},
"minimum": 0.0
},
"min_chance": {
"type": "number",
"$metaProperties": {},
"minimum": 0.0,
"exclusiveMaximum": 1.0
},
"min_dist": {
"type": "integer",
"$metaProperties": {},
"minimum": 0.0
},
"predicate_type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::PosType",
"type": "string",
"enum": [
"minecraft:axis_aligned_linear_pos"
],
"$metaProperties": {}
}
},
"required": [
"predicate_type"
],
"$metaProperties": {}
},
"4275912652": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::AlwaysTrueBlock",
"type": "object",
"properties": {
"predicate_type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::BlockType",
"type": "string",
"enum": [
"minecraft:always_true"
],
"$metaProperties": {}
}
},
"required": [
"predicate_type"
],
"$metaProperties": {}
},
"45584192": {
"title": "struct SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::Passthrough",
"type": "object",
"properties": {
"type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructure::ProcessorRule::BlockEntityModifierType",
"type": "string",
"enum": [
"minecraft:passthrough"
],
"$metaProperties": {}
}
},
"required": [
"type"
],
"$metaProperties": {}
}
},
"title": "struct SharedTypes::v1_21_20::JigsawStructure::Rule",
"type": "object",
"properties": {
"block_entity_modifier": {
"oneOf": [
{
"$ref": "#/definitions/45584192"
},
{
"$ref": "#/definitions/1134690608"
}
],
"$metaProperties": {}
},
"input_predicate": {
"oneOf": [
{
"$ref": "#/definitions/4275912652"
},
{
"$ref": "#/definitions/2198589344"
},
{
"$ref": "#/definitions/3523914459"
},
{
"$ref": "#/definitions/3034820683"
}
],
"$metaProperties": {}
},
"location_predicate": {
"oneOf": [
{
"$ref": "#/definitions/4275912652"
},
{
"$ref": "#/definitions/2198589344"
},
{
"$ref": "#/definitions/3523914459"
},
{
"$ref": "#/definitions/3034820683"
}
],
"$metaProperties": {}
},
"output_state": {
"$ref": "#/definitions/3076687790",
"$metaProperties": {}
},
"position_predicate": {
"oneOf": [
{
"$ref": "#/definitions/1556792771"
},
{
"$ref": "#/definitions/3839910888"
}
],
"$metaProperties": {}
}
},
"required": [
"output_state"
],
"$metaProperties": {}
}