Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

What time does the sun rise on Minecraft? I would like to know because I am building a map where it needs that time for the map. By this I mean when the sun creates a purple color in the sky.

share|improve this question
    
I think it was 0 –  ratchet freak Feb 15 '13 at 1:00

3 Answers 3

up vote 10 down vote accepted

The Minecraft day is 20 (real-life) minutes long, which translates into 24000 game ticks (there are 20 ticks per second).

Sunrise is implemented as the last part of the day-night cycle and is 90 seconds (1800) ticks) long (according to the wiki), starting at around game time 22200

when the sky will look like this (facing due east)

Start of sunrise phase

to game time 0 when the sky will look like this (also facing due east)

End of sunrise phase

The easiest way to detect sunrise is to use the daylight sensor that has been introduced in the snapshots in combination with a comparator

share|improve this answer

22796 is the soonest a directly exposed daylight sensor powers on in the morning.

share|improve this answer

the day starts at 0+k*20(minutes)*60(s/min)*20(ticks/s)=0+k*24000 ticks with the sunrise being the 1.5 minutes before that point

the full day-night cycle is 20 minutes and minecraft time is measured in ticks (of which there are 20 in each seconds

share|improve this answer
    
Could you please give me a round number? –  Shadow Zorgon Feb 15 '13 at 5:05
    
What value would you give the variable k? –  Meraj99 Jan 14 at 13:59
    
@Meraj99 k is the number of days since generating the world –  ratchet freak Jan 14 at 14:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.