Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/scheduler.json
2021-10-11 18:10:42 +02:00

51 lines
1.4 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.scheduler",
"description": "fires off scheduled mob events at time of day events.",
"type": "object",
"title": "Scheduler",
"additionalProperties": false,
"properties": {
"min_delay_secs": {
"type": "integer",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Minimum Delay Secs",
"minimum": 0
},
"max_delay_secs": {
"type": "integer",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Maximum Delay Secs",
"minimum": 0
},
"scheduled_events": {
"type": "array",
"description": "The list of triggers that fire when the conditions match the given filter criteria. If any filter criteria overlap the first defined event will be picked.",
"title": "Scheduled Events",
"items": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Scheduled Events",
"properties": {
"filters": {
"$ref": "../../filters/filters.json"
},
"event": {
"$ref": "../types/event.json"
}
}
}
}
},
"examples": [
{
"min_delay_secs": 0,
"max_delay_secs": 0,
"scheduled_events": []
}
]
}