1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-23 14:52:52 +00:00
Files
2025-09-09 10:02:11 -07:00

114 lines
3.3 KiB
JSON

{
"$id": "760104054",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1357039345": {
"title": "Reference",
"type": "string"
},
"1509348670": {
"properties": {
"identifier": {
"$ref": "#/definitions/1533541232",
"description": "Identifier of the Jigsaw Structure Set."
}
},
"required": [
"identifier"
],
"title": "Description",
"type": "object"
},
"1533541232": {
"title": "Identifier",
"type": "string"
},
"3295675449": {
"properties": {
"structure": {
"$ref": "#/definitions/1357039345",
"description": "Identifier of the Jigsaw Structure."
},
"weight": {
"description": "Weight of the Jigsaw Structure in the set. Higher weights are more likely to be selected.",
"maximum": 200,
"minimum": 1,
"type": "integer"
}
},
"required": [
"structure",
"weight"
],
"title": "Structure",
"type": "object"
},
"741112715": {
"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.",
"minimum": 0,
"type": "integer"
},
"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.",
"minimum": 1,
"type": "integer"
},
"spread_type": {
"description": "Randomness algorithm used when placing structures.",
"enum": [
"linear",
"triangular"
],
"title": "SpreadType",
"type": "string"
},
"type": {
"description": "Type of placement for the Jigsaw Structure Set.",
"enum": [
"minecraft:random_spread"
],
"title": "PlacementType",
"type": "string"
}
},
"required": [
"salt",
"separation",
"spacing",
"type"
],
"title": "RandomSpreadPlacement",
"type": "object"
}
},
"properties": {
"description": {
"$ref": "#/definitions/1509348670"
},
"placement": {
"$ref": "#/definitions/741112715",
"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."
},
"structures": {
"description": "Weighted list of Jigsaw Structures in the set.",
"items": {
"$ref": "#/definitions/3295675449"
},
"type": "array"
}
},
"required": [
"description",
"placement",
"structures"
],
"title": "A Jigsaw Structure Set is a collection of Jigsaw Structures that are placed according to a set of rules.",
"type": "object",
"x-format-version": "1.21.20"
}