Package logisticspipes.pipefxhandlers.providers

Source Code of logisticspipes.pipefxhandlers.providers.EntityRedSparkleFXProvider

package logisticspipes.pipefxhandlers.providers;

import logisticspipes.pipefxhandlers.EntitySparkleFX;
import logisticspipes.pipefxhandlers.GenericSparkleFactory;
import logisticspipes.pipefxhandlers.ParticleProvider;
import net.minecraft.client.multiplayer.WorldClient;
import net.minecraft.client.particle.EntityFX;

public class EntityRedSparkleFXProvider implements ParticleProvider {

  float red = 1F;
  float green = 0F;
  float blue = 0F;
 
  @Override
  public EntityFX createGenericParticle(WorldClient world, double x, double y, double z, int amount) {
 
    EntitySparkleFX effect = GenericSparkleFactory.getSparkleInstance(world, x, y, z, red, green, blue, amount);
   
    return effect;

   
  }

 
 
}
TOP

Related Classes of logisticspipes.pipefxhandlers.providers.EntityRedSparkleFXProvider

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.