Which Method To Use

Discussion in 'Plugin Development' started by Zachster, Aug 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Zachster

    This may sound like a stupid question, but what method gets the current time on the server in ticks. for example, if it is noon, it is 1200 ticks.
     
  2. Offline

    pope_on_dope

    world.getTime(); world.getFullTime(); both will return longs
     
  3. Offline

    Zachster

    What's the difference?
     
  4. Offline

    Comphenix

    Take a look at the JavaDoc for getTime():
    Compare that to getFullTime():
    So getTime() essentially returns the current Minecraft time of day, whereas getFullTime() return the full Minecraft date, measured in ticks since the world got created.
     
Thread Status:
Not open for further replies.

Share This Page