24 lines
1.3 KiB
JSON
24 lines
1.3 KiB
JSON
{
|
|
"title": "Sequence Feature",
|
|
"description": "`minecraft:sequence_feature` places a collection of features sequentially, in the order they appear in data. The output position of the previous feature is used as the input position for the next. For example, a tree feature is placed at (0, 0, 0) and places blocks up to (0, 10, 0). The next feature in the sequence begins at (0, 10, 0).\nSucceeds if: All features in the sequence are successfully placed.\nFails if: Any feature in the sequence fails to be placed. Features that have not yet been placed at the time of failure are skipped.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["description", "features"],
|
|
"properties": {
|
|
"description": {
|
|
"$ref": "../types/description.json"
|
|
},
|
|
"features": {
|
|
"title": "Features",
|
|
"description": "List of features to be placed in sequence. The output position of the previous feature is used as the input position to the next.",
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"title": "Feature",
|
|
"description": "A feature to be placed in sequence. The output position of the previous feature is used as the input position to the next.",
|
|
"$ref": "../../../general/feature/identifier.json"
|
|
}
|
|
}
|
|
}
|
|
}
|