use of net.minecraft.client.particle.ParticleFlame in project DynamicSurroundings by OreCruncher.
the class ParticleFireJet method spawnJetParticle.
@Override
protected void spawnJetParticle() {
final double speedY = this.isLava ? 0 : this.jetStrength / 10.0D;
final Particle particle = this.factory.createParticle(this.particleId, this.world, this.posX, this.posY, this.posZ, 0D, speedY, 0D);
if (!this.isLava) {
final ParticleFlame flame = (ParticleFlame) particle;
flame.flameScale *= this.jetStrength;
}
addParticle(particle);
}
Aggregations