Package net.minecraft.client.particle

Examples of net.minecraft.client.particle.EntityReddustFX


  @SideOnly(Side.CLIENT)
  private void doParticle()
  {
    Pos3D pos = new Pos3D(posX + (rand.nextFloat()*.6 - 0.3), posY - 0.8 + (rand.nextFloat()*.6 - 0.3), posZ + (rand.nextFloat()*.6 - 0.3));

    EntityFX fx = new EntityReddustFX(worldObj, pos.xPos, pos.yPos, pos.zPos, 1, 0, 0, 0);
    fx.setRBGColorF(color.getColor(0), color.getColor(1), color.getColor(2));

    Minecraft.getMinecraft().effectRenderer.addEffect(fx);
  }
View Full Code Here


    else if(s.equals("largesmoke"))
      fx = new EntitySmokeFX(w, x, y, z, 0D, 0D, 0D, 2.5F);
    else if(s.equals("cloud"))
      fx = new EntityCloudFX(w, x, y, z, 0D, 0D, 0D);
    else if(s.equals("reddust"))
      fx = new EntityReddustFX(w, x, y, z, 0F, 0F, 0F);
    else if(s.equals("snowballpoof"))
      fx = new EntityBreakingFX(w, x, y, z, Items.snowball);
    else if(s.equals("dripWater"))
      fx = new EntityDropParticleFX(w, x, y, z, Material.water);
    else if(s.equals("dripLava"))
View Full Code Here

TOP

Related Classes of net.minecraft.client.particle.EntityReddustFX

Copyright © 2018 www.massapicom. 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.