Skip to content

Exposed to Weather

Entity Condition Type

Checks if the entity is exposed to the sky and certain weather.

Type ID: eggolib:exposed_to_weather

Fields

Field Type Default Description
weather Precipitation optional If specified, the condition will check if the entity is exposed to the specified weather.
thundering Boolean optional If specified, the condition will check if there is a thunderstorm.

Examples

"condition": {
    "type": "eggolib:exposed_to_weather",
    "weather": "snow"
}

This example will check if the entity is exposed to the sky and snowy weather.

"condition": {
    "type": "eggolib:exposed_to_weather",
    "weather": "rain",
    "thundering": true
}

This example will check if the entity is exposed to sky and stormy weather.