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

94 lines
3.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2953490483",
"x-format-version": "1.21.80",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"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": "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"
]
}