Enum containing the different phases of the moon based on the current day.,Obtain the current MoonPhase using world.getMoonPhase.

The fullness of the moon controls various mob behaviors such as the number of slimes that spawn in Swamp biomes, the chance skeletons and zombies have to spawn with armor, as well as the chance for spiders to spawn with certain status effects.

Enumeration Members

FirstQuarter: 2

Remarks

The phase following the Waxing Crescent.

FullMoon: 0

Remarks

The brightest moon phase. During this phase, cats have a 50% chance of spawning as black cats.

LastQuarter: 6

Remarks

The phase following the Waning Gibbous.

NewMoon: 4

Remarks

The darkest moon phase.

WaningCrescent: 3

Remarks

The phase following the Last Quarter.

WaningGibbous: 1

Remarks

The phase following the Full Moon.

WaxingCrescent: 5

Remarks

The phase following the New Moon.

WaxingGibbous: 7

Remarks

The phase following the First Quarter.