Support world time, including loading it from the world save and updating it correctly each tick. See https://wiki.vg/Protocol#Time_Update.