1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-08-03 22:30:53 +00:00
Files
bedrock-samples/metadata/json_schemas/client_server/1.21.50/Jigsaw Structure Metadata.json
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

137 lines
4.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "174397773",
"x-format-version": "1.21.50",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"2686093684": {
"title": "struct SharedTypes::v1_21_80::JigsawStructureMetadataRegistry",
"type": "object",
"properties": {
"metadata": {
"description": "The registry associating structure locations with generated Jigsaw structure metadata.",
"type": "object",
"additionalProperties": {
"description": "The registry associating structure locations with generated Jigsaw structure metadata.",
"type": "object",
"properties": {
"key": {
"type": "integer"
},
"value": {
"$ref": "#/definitions/2953490483"
}
}
}
}
},
"required": [
"metadata"
]
},
"2953490483": {
"title": "struct SharedTypes::v1_21_80::JigsawStructureMetadata",
"type": "object",
"properties": {
"markers": {
"description": "The Jigsaw blocks contained within the generated structure.",
"type": "array",
"items": {
"$ref": "#/definitions/480089458"
}
},
"size": {
"description": "The generated structures bounding size.",
"$ref": "#/definitions/820712576"
}
},
"required": [
"markers",
"size"
]
},
"480089458": {
"title": "class SharedTypes::v1_21_80::JigsawBlockMetadata",
"type": "object",
"properties": {
"block": {
"description": "The serialization Id of the Jigsaw block before generation.",
"type": "string"
},
"final_block": {
"description": "The serialization Id to replace the starting Jigsaw block with.",
"type": "string"
},
"joint_type": {
"title": "Jigsaw Joint Type",
"description": "The type of Jigsaw joint made with 'target'.",
"type": "string",
"enum": [
"rollable",
"aligned"
]
},
"name": {
"description": "The name identifier referenced by the 'target' field of another Jigsaw block.",
"type": "string"
},
"placement_priority": {
"description": "The priority used during target block placement.",
"type": "integer"
},
"pool": {
"description": "The structure template pool containing possible structures to generate.",
"type": "string"
},
"pos": {
"description": "The Jigsaw block position.",
"$ref": "#/definitions/820712576"
},
"selection_priority": {
"description": "The priority used during target block selection.",
"type": "integer"
},
"target": {
"description": "The name identifier of the Jigsaw block to target within the generated structure.",
"type": "string"
}
},
"required": [
"block",
"final_block",
"joint_type",
"name",
"placement_priority",
"pool",
"pos",
"selection_priority",
"target"
]
},
"820712576": {
"title": "block_pos",
"type": "array",
"items": {
"type": "integer"
},
"minItems": 3,
"maxItems": 3
}
},
"title": "minecraft:jigsaw_structure_metadata",
"type": "object",
"properties": {
"format_version": {
"description": "Format version of the contained metadata registry.",
"type": "string"
},
"minecraft:jigsaw_structure_metadata": {
"description": "The Jigsaw metadata registry.",
"$ref": "#/definitions/2686093684"
}
},
"required": [
"format_version",
"minecraft:jigsaw_structure_metadata"
]
}