Which Method To Use

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

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


    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


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


    What's the difference?
  4. Offline


    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