Examples of spawnParticle()


Examples of logisticspipes.pipes.basic.CoreRoutedPipe.spawnParticle()

      }
    }
    if(result.getValue1() != null) {
      CoreRoutedPipe pipe = SimpleServiceLocator.routerManager.getRouterUnsafe(result.getValue1(),false).getPipe();
      pipe.useEnergy(result.getValue2().energyUse);
      pipe.spawnParticle(Particles.BlueParticle, 10);
    }
    return result;
  }
 
  public static SinkReply canSink(IRouter destination, IRouter sourceRouter, boolean excludeSource,ItemIdentifier stack,SinkReply result, boolean activeRequest, boolean allowDefault) {
View Full Code Here

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

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

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

        double d4 = 0.27D;
       
        World world = world();
        int m = meta&7;
        if (m == 1)
            world.spawnParticle("reddust", d0 - d4, d1 + d3, d2, 0, 0, 0);
        else if (m == 2)
            world.spawnParticle("reddust", d0 + d4, d1 + d3, d2, 0, 0, 0);
        else if (m == 3)
            world.spawnParticle("reddust", d0, d1 + d3, d2 - d4, 0, 0, 0);
        else if (m == 4)
View Full Code Here

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

        World world = world();
        int m = meta&7;
        if (m == 1)
            world.spawnParticle("reddust", d0 - d4, d1 + d3, d2, 0, 0, 0);
        else if (m == 2)
            world.spawnParticle("reddust", d0 + d4, d1 + d3, d2, 0, 0, 0);
        else if (m == 3)
            world.spawnParticle("reddust", d0, d1 + d3, d2 - d4, 0, 0, 0);
        else if (m == 4)
            world.spawnParticle("reddust", d0, d1 + d3, d2 + d4, 0, 0, 0);
        else
View Full Code Here

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

        if (m == 1)
            world.spawnParticle("reddust", d0 - d4, d1 + d3, d2, 0, 0, 0);
        else if (m == 2)
            world.spawnParticle("reddust", d0 + d4, d1 + d3, d2, 0, 0, 0);
        else if (m == 3)
            world.spawnParticle("reddust", d0, d1 + d3, d2 - d4, 0, 0, 0);
        else if (m == 4)
            world.spawnParticle("reddust", d0, d1 + d3, d2 + d4, 0, 0, 0);
        else
            world.spawnParticle("reddust", d0, d1, d2, 0, 0, 0);
    }
View Full Code Here

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

        else if (m == 2)
            world.spawnParticle("reddust", d0 + d4, d1 + d3, d2, 0, 0, 0);
        else if (m == 3)
            world.spawnParticle("reddust", d0, d1 + d3, d2 - d4, 0, 0, 0);
        else if (m == 4)
            world.spawnParticle("reddust", d0, d1 + d3, d2 + d4, 0, 0, 0);
        else
            world.spawnParticle("reddust", d0, d1, d2, 0, 0, 0);
    }
   
    @Override
View Full Code Here

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

        else if (m == 3)
            world.spawnParticle("reddust", d0, d1 + d3, d2 - d4, 0, 0, 0);
        else if (m == 4)
            world.spawnParticle("reddust", d0, d1 + d3, d2 + d4, 0, 0, 0);
        else
            world.spawnParticle("reddust", d0, d1, d2, 0, 0, 0);
    }
   
    @Override
    public ItemStack pickItem(MovingObjectPosition hit)
    {
View Full Code Here

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

        double d4 = 0.27D;
       
        World world = world();
        if (meta == 1)
        {
            world.spawnParticle("smoke", d0 - d4, d1 + d3, d2, 0, 0, 0);
            world.spawnParticle("flame", d0 - d4, d1 + d3, d2, 0, 0, 0);
        }
        else if (meta == 2)
        {
            world.spawnParticle("smoke", d0 + d4, d1 + d3, d2, 0, 0, 0);
View Full Code Here

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

       
        World world = world();
        if (meta == 1)
        {
            world.spawnParticle("smoke", d0 - d4, d1 + d3, d2, 0, 0, 0);
            world.spawnParticle("flame", d0 - d4, d1 + d3, d2, 0, 0, 0);
        }
        else if (meta == 2)
        {
            world.spawnParticle("smoke", d0 + d4, d1 + d3, d2, 0, 0, 0);
            world.spawnParticle("flame", d0 + d4, d1 + d3, d2, 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.