1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-07-02 18:38:28 +00:00
Files
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

98 lines
3.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1382973118",
"x-format-version": "1.21.20",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"1872243302": {
"title": "struct SharedTypes::v1_21_20::JigsawStructureTemplatePool::Description",
"type": "object",
"properties": {
"identifier": {
"description": "Identifier of the template pool. Used by Jigsaw Structures to assign processors to Structure Templates.",
"type": "string"
}
},
"required": [
"identifier"
]
},
"2726507774": {
"title": "struct SharedTypes::v1_21_20::JigsawStructureTemplatePool::SinglePoolElement",
"type": "object",
"properties": {
"element_type": {
"title": "enum SharedTypes::v1_21_20::JigsawStructureTemplatePool::ElementType",
"description": "The type of element. Currently, only minecraft:single_pool_element is supported.",
"type": "string",
"enum": [
"minecraft:single_pool_element"
]
},
"location": {
"description": "The path of the structure file. This path is relative to the behavior pack's structures folder.",
"type": "string"
},
"processors": {
"description": "The identifier of the processor list to use when placing the structure.",
"type": "string"
}
},
"required": [
"element_type",
"location",
"processors"
]
},
"1755372388": {
"title": "struct SharedTypes::v1_21_20::JigsawStructureTemplatePool::TemplatePoolElement",
"type": "object",
"properties": {
"element": {
"description": "A grouping of a Structure Template, the Processor List to use when placing the structure, and its weight that determines the likelihood of the element being chosen.",
"$ref": "#/definitions/2726507774"
},
"projection": {
"title": "enum SharedTypes::v1_21_20::JigsawStructureTemplatePool::Projection",
"description": "Specifies how structures should be placed relative to the terrain.",
"type": "string",
"enum": [
"rigid",
"terrain_matching"
]
},
"weight": {
"description": "The weighted probability of choosing the element from the pool. For example, a template pool containing 2 structures with weights of 1 and 3 will have a 25% and 75% chance of being chosen respectively.",
"type": "integer",
"minimum": 1.0,
"maximum": 200.0
}
},
"required": [
"element"
]
}
},
"title": "Used to pair block rules with Structure Templates and to randomly place Structure Templates using a weighted list.",
"type": "object",
"properties": {
"description": {
"$ref": "#/definitions/1872243302"
},
"elements": {
"description": "List of Structure Template and processor list pairs.",
"type": "array",
"items": {
"$ref": "#/definitions/1755372388"
}
},
"fallback": {
"description": "Fallback template pool to use if no element in the pool can be placed successfully.",
"type": "string"
}
},
"required": [
"description",
"elements"
]
}