Add API to change the time in a world