Package net.minecraft.client.particle

Examples of net.minecraft.client.particle.EntityBreakingFX


    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"))
      fx = new EntityDropParticleFX(w, x, y, z, Material.lava);
    else if(s.equals("snowshovel"))
      fx = new EntitySnowShovelFX(w, x, y, z, 0D, 0D, 0D);
    else if(s.equals("slime"))
      fx = new EntityBreakingFX(w, x, y, z, Items.slime_ball);
    else if(s.equals("heart"))
      fx = new EntityHeartFX(w, x, y, z, 0D, 0D, 0D);
    else if(s.equals("angryVillager"))
    {
      fx = new EntityHeartFX(w, x, y, z, 0D, 0D, 0D);
      fx.setParticleTextureIndex(81);
      fx.setRBGColorF(1.0F, 1.0F, 1.0F);
    }
    else if(s.equals("happyVillager"))
    {
      fx = new EntityAuraFX(w, x, y, z, 0D, 0D, 0D);
      fx.setParticleTextureIndex(82);
            fx.setRBGColorF(1.0F, 1.0F, 1.0F);
    }
    else if(s.equals("snowshovel"))
      fx = new EntitySnowShovelFX(w, x, y, z, 0D, 0D, 0D);
    else if(s.equals("snowshovel"))
      fx = new EntitySnowShovelFX(w, x, y, z, 0D, 0D, 0D);
    else if(s.equals("snowshovel"))
      fx = new EntitySnowShovelFX(w, x, y, z, 0D, 0D, 0D);

        else
        {
            int k;
            String[] astring;

            if (s.startsWith("iconcrack_"))
            {
                astring = s.split("_", 3);
                int j = Integer.parseInt(astring[1]);

                if (astring.length > 2)
                {
                    k = Integer.parseInt(astring[2]);
                    fx = new EntityBreakingFX(w, x, y, z, 0D, 0D, 0D, Item.getItemById(j), k);
                }
                else fx = new EntityBreakingFX(w, x, y, z, 0D, 0D, 0D, Item.getItemById(j), 0);
            }
            else
            {
                Block block;
View Full Code Here

TOP

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

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.