Package logisticspipes.pipefxhandlers.providers

Source Code of logisticspipes.pipefxhandlers.providers.EntityGoldSparkleFXProvider

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 EntityGoldSparkleFXProvider implements ParticleProvider {

  float red = 0.93F;
  float green = 0.80F;
  float blue = 0.36F;

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

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.