Package cofh.lib.render.particle

Examples of cofh.lib.render.particle.EntityDropParticleFX


    if (density < 0) {
      py = y + 2.10D;
    }
    if (rand.nextInt(20) == 0 && world.isSideSolid(x, y + densityDir, z, densityDir == -1 ? ForgeDirection.UP : ForgeDirection.DOWN)
        && !world.getBlock(x, y + 2 * densityDir, z).getMaterial().blocksMovement()) {
      EntityFX fx = new EntityDropParticleFX(world, px, py, pz, particleRed, particleGreen, particleBlue, densityDir);
      FMLClientHandler.instance().getClient().effectRenderer.addEffect(fx);
    }
  }
View Full Code Here

TOP

Related Classes of cofh.lib.render.particle.EntityDropParticleFX

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.