Package net.minecraft.client.particle
Class FireworkParticle.Spark
- java.lang.Object
-
- net.minecraft.client.particle.Particle
-
- net.minecraft.client.particle.TexturedParticle
-
- net.minecraft.client.particle.SpriteTexturedParticle
-
- net.minecraft.client.particle.SimpleAnimatedParticle
-
- net.minecraft.client.particle.FireworkParticle.Spark
-
- Enclosing class:
- FireworkParticle
static class FireworkParticle.Spark extends SimpleAnimatedParticle
-
-
Field Summary
Fields Modifier and Type Field Description private ParticleManager
engine
private float
fadeB
private float
fadeG
private float
fadeR
private boolean
flicker
private boolean
hasFade
private boolean
trail
-
Fields inherited from class net.minecraft.client.particle.SimpleAnimatedParticle
sprites
-
Fields inherited from class net.minecraft.client.particle.SpriteTexturedParticle
sprite
-
Fields inherited from class net.minecraft.client.particle.TexturedParticle
quadSize
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Spark(ClientWorld p_i232389_1_, double p_i232389_2_, double p_i232389_4_, double p_i232389_6_, double p_i232389_8_, double p_i232389_10_, double p_i232389_12_, ParticleManager p_i232389_14_, IAnimatedSprite p_i232389_15_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(IVertexBuilder p_225606_1_, ActiveRenderInfo p_225606_2_, float p_225606_3_)
void
setFlicker(boolean p_92043_1_)
void
setTrail(boolean p_92045_1_)
void
tick()
-
Methods inherited from class net.minecraft.client.particle.SimpleAnimatedParticle
getLightColor, getRenderType, setBaseAirFriction, setColor, setFadeColor
-
Methods inherited from class net.minecraft.client.particle.SpriteTexturedParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge
-
Methods inherited from class net.minecraft.client.particle.TexturedParticle
getQuadSize, scale
-
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setPos, setPower, setSize, shouldCull, toString
-
-
-
-
Field Detail
-
trail
private boolean trail
-
flicker
private boolean flicker
-
engine
private final ParticleManager engine
-
fadeR
private float fadeR
-
fadeG
private float fadeG
-
fadeB
private float fadeB
-
hasFade
private boolean hasFade
-
-
Constructor Detail
-
Spark
private Spark(ClientWorld p_i232389_1_, double p_i232389_2_, double p_i232389_4_, double p_i232389_6_, double p_i232389_8_, double p_i232389_10_, double p_i232389_12_, ParticleManager p_i232389_14_, IAnimatedSprite p_i232389_15_)
-
-
Method Detail
-
setTrail
public void setTrail(boolean p_92045_1_)
-
setFlicker
public void setFlicker(boolean p_92043_1_)
-
render
public void render(IVertexBuilder p_225606_1_, ActiveRenderInfo p_225606_2_, float p_225606_3_)
- Overrides:
render
in classTexturedParticle
-
tick
public void tick()
- Overrides:
tick
in classSimpleAnimatedParticle
-
-