Edit

Share via


TimeOfDay Enumeration (Version 1.x.x)

Important

This documentation is for an older version of this module. Go to the latest documentation here.

Provides numeric values for common periods in the Minecraft day.

Constants

Day

Day = 1000

Sets the time to the start of the day, which is time of the day 1,000 (or the equivalent of 7am) in Minecraft.

Noon

Noon = 6000

Sets the time to noon, which is time of the day 6,000 in Minecraft.

Sunset

Sunset = 12000

Sets the time to sunset, which is time of the day 12,000 (or the equivalent of 6pm) in Minecraft.

Night

Night = 13000

Sets the time to night, which is time of the day 13,000 (or the equivalent of 7:00pm) in Minecraft.

Midnight

Midnight = 18000

Sets the time to midnight, which is time of the day 18,000 (or the equivalent of 12:00am) in Minecraft.

Sunrise

Sunrise = 23000

Sets the time to sunrise, which is time of the day 23,000 (or the equivalent of 5am) in Minecraft.