2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id" : "blockception.minecraft.behavior.entities.minecraft.scheduler" ,
2021-10-08 12:59:03 +02:00
"description" : "fires off scheduled mob events at time of day events." ,
"type" : "object" ,
2021-10-08 13:04:13 +02:00
"title" : "Scheduler" ,
2021-10-08 12:59:03 +02:00
"additionalProperties" : false ,
"properties" : {
2021-10-11 18:10:42 +02:00
"min_delay_secs" : {
"title" : "Minimum Delay Secs" ,
2022-07-13 21:27:03 +01:00
"type" : "number" ,
"default" : 0 ,
"description" : "The minimum the scheduler will be delayed." ,
2021-10-11 18:10:42 +02:00
"minimum" : 0
} ,
"max_delay_secs" : {
"title" : "Maximum Delay Secs" ,
2022-07-13 21:27:03 +01:00
"type" : "number" ,
"default" : 0 ,
"description" : "The maximum the scheduler will be delayed." ,
2021-10-11 18:10:42 +02:00
"minimum" : 0
} ,
2021-10-08 12:59:03 +02:00
"scheduled_events" : {
2022-07-13 21:27:03 +01:00
"title" : "Scheduled Events" ,
2021-10-08 12:59:03 +02:00
"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." ,
"items" : {
2022-07-13 21:27:03 +01:00
"title" : "Scheduled Events" ,
2021-10-08 12:59:03 +02:00
"additionalProperties" : false ,
"type" : "object" ,
2022-06-23 20:48:19 +01:00
"description" : "A filter and event pair. The event runs when the filter criteria succeeds" ,
2021-10-11 18:10:42 +02:00
"properties" : {
"filters" : {
"$ref" : "../../filters/filters.json"
} ,
"event" : {
"$ref" : "../types/event.json"
}
}
2021-10-08 12:59:03 +02:00
}
}
2021-10-11 18:10:42 +02:00
} ,
"examples" : [
{
"min_delay_secs" : 0 ,
"max_delay_secs" : 0 ,
"scheduled_events" : [ ]
}
]
2021-10-08 12:59:03 +02:00
}