public static void setTime(World world, long time) { net.minecraft.server.World w = ((CraftWorld) world).getHandle(); w.setTimeAndFixTicklists(time); }