Package logisticspipes.pipefxhandlers.providers

Source Code of logisticspipes.pipefxhandlers.providers.EntityBlueSparkleFXProvider

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 EntityBlueSparkleFXProvider implements ParticleProvider {
  float red = 0F;
  float green = 0F;
  float blue = 1F;

  @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.EntityBlueSparkleFXProvider

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.