Package net.minecraft.src

Examples of net.minecraft.src.World.spawnParticle()


          e.setDead();
          x = e.posX;
          y = e.posY;
          z = e.posZ;
          for (int k = 0; k < 10000; k++)
            world.spawnParticle("portal", x + (world.rand.nextDouble() * 3.0)
                * (world.rand.nextBoolean() ? -1 : 1), y
                + (world.rand.nextDouble() * 3.0)
                * (world.rand.nextBoolean() ? -1 : 1), z
                + (world.rand.nextDouble() * 3.0)
                * (world.rand.nextBoolean() ? -1 : 1), 0, 0, 0);
View Full Code Here


          e.setDead();
          x = e.posX;
          y = e.posY;
          z = e.posZ;
          for (int k = 0; k < 10000; k++)
            world.spawnParticle("portal", x + (world.rand.nextDouble() * 3.0)
                * (world.rand.nextBoolean() ? -1 : 1), y
                + (world.rand.nextDouble() * 3.0)
                * (world.rand.nextBoolean() ? -1 : 1), z
                + (world.rand.nextDouble() * 3.0)
                * (world.rand.nextBoolean() ? -1 : 1), 0, 0, 0);
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.