I’m simply trying to figure out how to get the current time in the world. I’m assuming it’ll be given in ticks passed since the start of the day. I tried player.getWorld().getTime(), but nothing along those lines exists.
Yes. The total ticks in a day is 24000, but the world time is the total ticks the world has been around for, which is why you need the modulus there. Be careful to keep that in mind when setting the world time too.