mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-08-01 16:45:37 +00:00
107 lines
4.1 KiB
JSON
107 lines
4.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "760104054",
|
|
"x-format-version": "1.21.20",
|
|
"x-minecraft-version": "1.21.90-beta.3",
|
|
"definitions": {
|
|
"1509348670": {
|
|
"title": "struct SharedTypes::v1_21_20::JigsawStructureSet::Description",
|
|
"type": "object",
|
|
"properties": {
|
|
"identifier": {
|
|
"description": "Identifier of the Jigsaw Structure Set.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"identifier"
|
|
]
|
|
},
|
|
"741112715": {
|
|
"title": "struct SharedTypes::v1_21_20::JigsawStructureSet::RandomSpreadPlacement",
|
|
"type": "object",
|
|
"properties": {
|
|
"salt": {
|
|
"description": "Seed used for the random generator to provide a unique scatter pattern. This is used to prevent overlap in the case where multiple structure sets use the same placement values.",
|
|
"type": "integer"
|
|
},
|
|
"separation": {
|
|
"description": "Padding (in chunks) within each grid cell. Structures will not generate within the padded area.",
|
|
"type": "integer",
|
|
"minimum": 0.0
|
|
},
|
|
"spacing": {
|
|
"description": "Grid cell size (in chunks) to use when generating the structure. Structures will attempt to generate at a random position within each cell.",
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
},
|
|
"spread_type": {
|
|
"title": "enum SharedTypes::v1_21_20::JigsawStructureSet::SpreadType",
|
|
"description": "Randomness algorithm used when placing structures.",
|
|
"type": "string",
|
|
"enum": [
|
|
"linear",
|
|
"triangular"
|
|
]
|
|
},
|
|
"type": {
|
|
"title": "enum SharedTypes::v1_21_20::JigsawStructureSet::PlacementType",
|
|
"description": "Type of placement for the Jigsaw Structure Set.",
|
|
"type": "string",
|
|
"enum": [
|
|
"minecraft:random_spread"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"salt",
|
|
"separation",
|
|
"spacing",
|
|
"type"
|
|
]
|
|
},
|
|
"3295675449": {
|
|
"title": "struct SharedTypes::v1_21_20::JigsawStructureSet::Structure",
|
|
"type": "object",
|
|
"properties": {
|
|
"structure": {
|
|
"description": "Identifier of the Jigsaw Structure.",
|
|
"type": "string"
|
|
},
|
|
"weight": {
|
|
"description": "Weight of the Jigsaw Structure in the set. Higher weights are more likely to be selected.",
|
|
"type": "integer",
|
|
"minimum": 1.0,
|
|
"maximum": 200.0
|
|
}
|
|
},
|
|
"required": [
|
|
"structure",
|
|
"weight"
|
|
]
|
|
}
|
|
},
|
|
"title": "A Jigsaw Structure Set is a collection of Jigsaw Structures that are placed according to a set of rules.",
|
|
"type": "object",
|
|
"properties": {
|
|
"description": {
|
|
"$ref": "#/definitions/1509348670"
|
|
},
|
|
"placement": {
|
|
"description": "Describes where structures in the set spawn relative to one another. Currently, the only placement type supported is random_spread, which scatters structures randomly with a given separation and spacing.",
|
|
"$ref": "#/definitions/741112715"
|
|
},
|
|
"structures": {
|
|
"description": "Weighted list of Jigsaw Structures in the set.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/3295675449"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"description",
|
|
"placement",
|
|
"structures"
|
|
]
|
|
} |