Added fields.
This commit is contained in:
@ -5,6 +5,13 @@ import net.minecraft.client.particle.ParticleRenderType;
|
|||||||
import net.minecraft.client.particle.TextureSheetParticle;
|
import net.minecraft.client.particle.TextureSheetParticle;
|
||||||
|
|
||||||
public class FireflyParticle extends TextureSheetParticle {
|
public class FireflyParticle extends TextureSheetParticle {
|
||||||
|
private static final float PARTICLE_FADE_OUT_LIGHT_TIME = 0.3F;
|
||||||
|
private static final float PARTICLE_FADE_IN_LIGHT_TIME = 0.1F;
|
||||||
|
private static final float PARTICLE_FADE_OUT_ALPHA_TIME = 0.5F;
|
||||||
|
private static final float PARTICLE_FADE_IN_ALPHA_TIME = 0.3F;
|
||||||
|
private static final int PARTICLE_MIN_LIFETIME = 36;
|
||||||
|
private static final int PARTICLE_MAX_LIFETIME = 180;
|
||||||
|
|
||||||
protected FireflyParticle(ClientLevel clientLevel, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) {
|
protected FireflyParticle(ClientLevel clientLevel, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) {
|
||||||
super(clientLevel, x, y, z, xSpeed, ySpeed, zSpeed);
|
super(clientLevel, x, y, z, xSpeed, ySpeed, zSpeed);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user