-
Notifications
You must be signed in to change notification settings - Fork 1
timeofday
Daedalus1400 edited this page May 16, 2017
·
1 revision
The timeofday condition checks the time since the most recent sunrise.
Added in release version 0.2.0
Must be "timeofday".
Accepts a string. Valid values are "<", and ">".
Accepts a number. Number of ticks since sunrise.
The following example checks whether the time is after noon:
{"type": "timeofday", "comparison": ">", "value": 6000}
This is will evaluate as:
world.getWorldTime() > 6000