Posted January 31, 201312 yr Hello there I've been investigating and I don't seem to find any clue about any of the following questions: - How many seconds /nanoseconds is a tick in minecraft? - How many ticks does a minecraft day have? - Is a minecraft day 24 minutes long? If not, how long is it? Thank you. For further information I'm trying to call an event on sunrise, I'm trying to do it with a ScheduledTickHandler. Is there a better way?
January 31, 201312 yr There's 20 ticks in a second, think you can work the rest out with a calculator.
January 31, 201312 yr Author Than you and indeed I can work it out. But still I don't know how long is a minecraft day
January 31, 201312 yr If I recall correctly, a whole day is 20 minutes. 10 Minutes day 2 Minutes dusk 8 Minutes night 2 Minutes dawn
January 31, 201312 yr the Part of IScheduladedTickHandler its right, but for the tick time, you can just calculate by the lighting valule like the mobs do.
January 31, 201312 yr Author Thank you very much vroominator. the Part of IScheduladedTickHandler its right, but for the tick time, you can just calculate by the lighting valule like the mobs do. Wouldn't this be very inefficient? it would check every tick or so if there is sunlight, while calling the method every 20 minutes would... well do it once every 20 minutes.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.