Skip to content

Fixed Time

Dimension Type Condition Type

Compares the fixed time property of the dimension to the specified value.

Type ID: eggolib:fixed_time

Note

If neither the comparison and compare_to is present, this dimension type condition type will check if the dimension has a fixed time.

Fields

Field Type Default Description
comparison Comparison optional Determines how the fixed time property of the dimension is compared to the specified value.
compare_to Integer optional The value which the fixed time property of the dimension is compared to.

Examples

"dimension_type_condition": {
    "type": "eggolib:fixed_time"
}

This example will check if the dimension has a fixed time.

"dimension_type_condition": {
    "type": "eggolib:fixed_time",
    "comparison": "==",
    "compare_to": 18000
}

This example will check if the dimension has its time fixed at midnight.