Time Of Day

Entity Condition Type

Checks the current day time ticks of the world.

Type ID: origins:time_of_day

Fields

Field Type Default Description
comparison Comparison How the current day time ticks of the world should be compared to the specified value.
compare_to Integer The value to compare the current day time ticks of the world to.

Examples

"condition": {
    "type": "origins:and",
    "conditions": [
        {
            "type": "origins:time_of_day",
            "comparison": ">=",
            "compare_to": 12000
        },
        {
            "type": "origins:time_of_day",
            "comparison": "<=",
            "compare_to": 13000
        }
    ]
}

This example will check if it's the sun is currently setting.