Game-day: Difference between revisions
Jump to navigation
Jump to search
(Updated the times of the phases based on experimental results using a mod that prints the number of ticks when a change of phase occurs.) |
(Updated tick times using the source code as reference.) |
||
Line 6: | Line 6: | ||
! Phase !! Behaviour !! Time of day at start !! Time of day at end !! Duration (in ticks) || Duration (in seconds) | ! Phase !! Behaviour !! Time of day at start !! Time of day at end !! Duration (in ticks) || Duration (in seconds) | ||
|- | |- | ||
|day ||fully light ||0.75 ||0.25 || | |day ||fully light ||0.75 ||0.25 ||12500 ||208.33~ | ||
|- | |- | ||
|dusk ||darkening ||0.25 ||0.42 || | |dusk ||darkening ||0.25 ||0.42 ||5000 ||83.33~ | ||
|- | |- | ||
|night ||fully dark ||0.42 ||0.58 || | |night ||fully dark ||0.42 ||0.58 ||2500 ||41.66~ | ||
|- | |- | ||
|dawn ||lightening ||0.58 ||0.75 || | |dawn ||lightening ||0.58 ||0.75 ||5000 ||83.33~ | ||
|} | |} | ||
Revision as of 21:17, 1 March 2015
A day lasts 24966 Game-ticks or 416.1 Game-seconds.
The light varies throughout the day varies in a cycle consisting of 4 phases:
Phase | Behaviour | Time of day at start | Time of day at end | Duration (in ticks) | Duration (in seconds) |
---|---|---|---|---|---|
day | fully light | 0.75 | 0.25 | 12500 | 208.33~ |
dusk | darkening | 0.25 | 0.42 | 5000 | 83.33~ |
night | fully dark | 0.42 | 0.58 | 2500 | 41.66~ |
dawn | lightening | 0.58 | 0.75 | 5000 | 83.33~ |
------------- day -------><---- dusk ----><---- night ----><---- dawn ----><-------- day ------------ % 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 |----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
During dusk, the light level decreases linearly from fully light to fully dark. During dawn, it increases linearly from dark to light.
Note: The actual time between phases can vary +/- a tick due to rounding errors.
These values are accurate as of version 0.11.8.