Skip to content

Ambient Light

Dimension Type Condition Type

Compares the ambient light property of the dimension to the specified value.

Type ID: eggolib:ambient_light

Fields

Field Type Default Description
comparison Comparison Determines how the ambient light property of the dimension is compared to the specified value.
compare_to Float The value which the ambient light property of the dimension is compared to.

Examples

"dimension_type_condition": {
    "type": "eggolib:ambient_light",
    "comparison": "==",
    "compare_to": 0.0
}

This example will check if the dimension has no ambient light. For instance, the Overworld and The End dimensions fulfill this condition.

"dimension_type_condition": {
    "type": "eggolib:ambient_light",
    "comparison": ">=",
    "compare_to": 0.1
}

This example will check if the dimension has an ambient light of 0.1 or higher. For instance, The Nether dimension fulfills this condition.