### utils.time24( world ) function Returns the timeofday for the given world using 24 hour notation. (number of minutes) See http://minecraft.gamepedia.com/Day-night_cycle#Conversions #### Parameters * world : the name of the world or world object for which you want to get time
(world)
| 492 | |
| 493 | ***/ |
| 494 | function getTime24(world) { |
| 495 | world = _world(world); // accept world name or object or undeifned |
| 496 | var mcTime = getTime(world); |
| 497 | var mins = Math.floor(((mcTime + 6000) % 24000) / 16.6667); |
| 498 | return mins; |
| 499 | } |
| 500 | exports.time24 = getTime24; |
| 501 | |
| 502 | /************************************************************************ |