[SOLVED]Is there a way in the existing 5.0 api to check for the current ingame time?

Pretty much what I’m needing to do is run some code at a specific time but can’t seem to find anything in regards to time in the Javadocs…help please?

WorldProperties#getTime

Note that this returns the total time, not just the time of day, so you’d probably want to add % 24000 to it.

1 Like