package blusunrize.immersiveengineering.client.fx;
import net.minecraft.world.World;
public class EntityFXSparks extends EntityFXIEBase
{
public EntityFXSparks(World world, double x,double y,double z, double mx,double my,double mz)
{
super(world, x,y,z, mx,my,mz);
this.particleMaxAge = 16;
this.posX = x;
this.posY = y;
this.posZ = z;
this.motionX = mx;
this.motionY = my;
this.motionZ = mz;
this.setParticleTextureIndex(world.rand.nextInt(3));
}
@Override
public String getParticleName()
{
return "heatSparks";
}
// @Override
// public void tessellateFromQueue(Tessellator tessellator)
// {
// this.setRBGColorF(1, .2f+(16-particleAge)/16f, this.particleAge>4?0: (4-particleAge)/4f);
// tessellator.setBrightness(255);
// super.tessellateFromQueue(tessellator);
// }
@Override
public int getBrightnessForRender(float p_70070_1_)
{
return 0xffffffff;
}
}