Posted May 27, 201411 yr Hey guys, how can I set the time ( for example day) with onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10) ? Please answer me I would be happy ~Santa
May 27, 201411 yr Author Ok , here is it: for (int j = 0; j < MinecraftServer.getServer().worldServers.length; ++j) { WorldServer worldserver = MinecraftServer.getServer().worldServers[j]; worldserver.setWorldTime(worldserver.getWorldTime() + (long)par2); } but what exactly I've to do? Please help me ~Santa
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.