Examples of scheduleBlockUpdateWithPriority()


Examples of net.minecraft.world.WorldServer.scheduleBlockUpdateWithPriority()

                {
                    if (torch != null)
                    {
                        if (world.getBlock(torch.x, torch.y, torch.z) == GCBlocks.unlitTorch)
                        {
                            world.scheduleBlockUpdateWithPriority(torch.x, torch.y, torch.z, GCBlocks.unlitTorch, 2 + world.rand.nextInt(30), 0);
                        }
                        else if (world.getBlock(torch.x, torch.y, torch.z) == GCBlocks.unlitTorchLit)
                        {
                            world.scheduleBlockUpdateWithPriority(torch.x, torch.y, torch.z, GCBlocks.unlitTorchLit, 2 + world.rand.nextInt(30), 0);
                        }
View Full Code Here

Examples of net.minecraft.world.WorldServer.scheduleBlockUpdateWithPriority()

                        {
                            world.scheduleBlockUpdateWithPriority(torch.x, torch.y, torch.z, GCBlocks.unlitTorch, 2 + world.rand.nextInt(30), 0);
                        }
                        else if (world.getBlock(torch.x, torch.y, torch.z) == GCBlocks.unlitTorchLit)
                        {
                            world.scheduleBlockUpdateWithPriority(torch.x, torch.y, torch.z, GCBlocks.unlitTorchLit, 2 + world.rand.nextInt(30), 0);
                        }
                    }
                }

                torchList.clear();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.