Files
minecraft-bedrock-json-schemas/source/behavior/features/features/minecraft.sequence_feature.json
Xterionix e65c85ddfa Update features (#235)
* - Update features

* - Fix
2024-03-21 11:01:23 +01:00

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"
}
}
}
}