Skip to content

Moon Phase

Entity Condition Type

Checks the current moon phase of the world.

Type ID: eggolib:moon_phase

Fields

Field Type Default Description
phase Moon Phase optional If specified, checks if the current moon phase of the world matches this moon phase.
phases Array of Moon Phases optional If specified, checks if the current moon phase of the world matches any of these moon phases.

Examples

"condition": {
    "type": "eggolib:moon_phase",
    "phase": "full_moon"
}

This example will check if the current moon phase of the world is Full Moon.

"condition": {
    "type": "eggolib:moon_phase",
    "phases": [
        "full_moon",
        "new_moon"
    ]
}

This example will check if the current moon phase of the world is either Full Moon or New Moon.