Package forestry.apiculture.render

Examples of forestry.apiculture.render.EntityBeeFX


      return;

    EntityFX fx;

    if (world.rand.nextBoolean()) {
      fx = new EntityBeeFX(world, xCoord + 0.5D, yCoord + 0.75D, zCoord + 0.5D, 0.0f, 0.0f, 0.0f, color);
    } else {
      double spawnX = xCoord + world.rand.nextInt(areaX * 2) - areaX;
      double spawnY = yCoord + world.rand.nextInt(areaY);
      double spawnZ = zCoord + world.rand.nextInt(areaZ * 2) - areaZ;

      fx = new EntityBeeFX(world, spawnX, spawnY, spawnZ, 0.0f, 0.0f, 0.0f, color);
    }

    fx.setParticleIcon(TextureManager.getInstance().getDefault(icon));
    ParticleRenderer.getInstance().addEffect(fx);
  }
View Full Code Here


      return;

    EntityFX fx;

    if (world.rand.nextBoolean())
      fx = new EntityBeeFX(world, xCoord, yCoord, zCoord, 0.0f, 0.0f, 0.0f, color);
    else {

      double spawnX = xCoord + world.rand.nextInt(4) - 2;
      double spawnY = yCoord + world.rand.nextInt(4) - 2;
      double spawnZ = zCoord + world.rand.nextInt(4) - 2;

      fx = new EntityBeeFX(world, spawnX, spawnY, spawnZ, 0.0f, 0.0f, 0.0f, color);
    }

    fx.setParticleIcon(TextureManager.getInstance().getDefault(icon));
    ParticleRenderer.getInstance().addEffect(fx);
  }
View Full Code Here

TOP

Related Classes of forestry.apiculture.render.EntityBeeFX

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.