minecraft
For the joke dimension, see The Moon.
See also: Sun
The moon, showing its phases (viewed on the eastern sky).

The moon, showing its phases (viewed on the eastern sky).

The moon is a celestial body that appears in the night sky.

Nighttime

Main article: Daylight cycle

Nighttime begins after the sun has fully set in the west and the moon has risen in the east. As time passes, the moon moves westward across the sky. Overall, nighttime lasts about 7 minutes (in real-time). Players can track the moon's position in the sky using a clock.

During the night, the moon illuminates the surface in the same manner as the sun; however, light levels fall to a minimum of four.

Grass blocks and saplings do not grow in moonlight, nor do they decay. To grow them at night requires the use of light sources such as torches. On the other hand, crops continue to grow.

Nighttime can be skipped entirely using a bed, if there are no monsters within close range.

Stars

Together with the moon, the night sky also consists of stars. Stars appear as bright points, and the starfield rotates with the moon, rising in the east and descending in the west, as the night progresses.

Phases

The full moon phase.

The full moon phase.

The Moon is always opposite of the Sun, but still goes through eight lunar phases, and changes phase at the end of every sunrise. This allows the player to keep rough track of the passage of time, even after spending a few game days underground.

The phases of the moon are (in chronological order as they appear in-game):

  1. Full moon
  2. Waning gibbous
  3. Last quarter
  4. Waning crescent
  5. New moon
  6. Waxing crescent
  7. First quarter
  8. Waxing gibbous

The pixels of the first quarter phase moon and waxing gibbous moon presents a more rounded, organic shape than the corresponding waning phase moons that present a more squared-off appearance. This can help a player in timing a slime hunt in a swamp (see below).

There is no explicit command to change the moon's phase, but using /time add 24000 advances time by one day toward the next phase. To go back one phase, using /time add 168000 advances time by 7 days, which is one full lunar cycle minus one moon phase.

There is an equation to calculate which moon phase it will be, on any given day in Minecraft: phase = (day mod 8) + 1. The day can be found in the F3 screen, and the phase will match to the list shown above.

Effects on mobs

Slimes spawning in a swamp during the full moon (view of eastern sky; moon rising)

Slimes spawning in a swamp during the full moon (view of eastern sky; moon rising)

The phase of the moon has several subtle effects on mob spawning:


History

Java Edition Indev
20100211Added day/night cycle with the addition of the sun and the moon.
Java Edition
1.0.0Beta 1.9 Prerelease 4The moon now rises in the east instead of the north.[1]
Added eight lunar phases to the moon. The moon was changed from being square to having a more rounded look to it.[2][3]
Beta 1.9 Prerelease 6Moon is reverted back to original square form and lunar phases converted to square form.
1.3.112w21aUpdated stars texture. They are now smaller and brighter.
1.513w02aPreviously, the moon graphics used to be in /terrain in the minecraft.jar. They are now contained in /environment.
Pocket Edition Alpha
v0.7.3Added moon and stars.
v0.10.0build 1The night sky is now dark blue instead of black. (version exclusive)
Pocket Edition
1.1.0The sun, moon, and stars now rise in the east and set in the west. Previously, they rose in the north.

Issues

Issues relating to "Moon" are maintained on the bug tracker. Report issues there.

Trivia

Gallery

References

  1. "Aaaand now the sun rises in the east. #breakallthesunrises"@notch (Markus Persson) on X, October 13, 2011
  2. "I'm making the moon and the sun round. I am very sorry."@notch (Markus Persson) on X, October 13, 2011
  3. "It's because this:"@notch (Markus Persson) on X, October 13, 2011
  4. "(also, @jeb_ )"@notch (Markus Persson) on X, November 1, 2011
  5. https://www.youtube.com/watch?v=jAS-GKmQ_5o