mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-21 20:46:28 +00:00
127 lines
4.9 KiB
JSON
127 lines
4.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "1246141269",
|
|
"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"
|
|
]
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"760104054": {
|
|
"title": "struct SharedTypes::v1_21_20::JigsawStructureSet::Contents",
|
|
"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": {
|
|
"title": "sequence container",
|
|
"description": "Weighted list of Jigsaw Structures in the set.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/3295675449"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"description",
|
|
"placement",
|
|
"structures"
|
|
]
|
|
}
|
|
},
|
|
"title": "struct SharedTypes::v1_21_20::JigsawStructureSet::Document",
|
|
"type": "object",
|
|
"properties": {
|
|
"format_version": {
|
|
"type": "string"
|
|
},
|
|
"minecraft:structure_set": {
|
|
"description": "A Jigsaw Structure Set is a collection of Jigsaw Structures that are placed according to a set of rules.",
|
|
"$ref": "#/definitions/760104054"
|
|
}
|
|
},
|
|
"required": [
|
|
"format_version",
|
|
"minecraft:structure_set"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Structure Set v1.21.20"
|
|
}
|
|
} |