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
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ParticleManager
private float
private float
private float
private boolean
private boolean
private boolean
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
ModifierConstructorDescriptionprivate
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
Modifier and TypeMethodDescriptionvoid
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 Details
-
trail
private boolean trail -
flicker
private boolean flicker -
engine
-
fadeR
private float fadeR -
fadeG
private float fadeG -
fadeB
private float fadeB -
hasFade
private boolean hasFade
-
-
Constructor Details
-
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 Details
-
setTrail
public void setTrail(boolean p_92045_1_) -
setFlicker
public void setFlicker(boolean p_92043_1_) -
render
- Overrides:
render
in classTexturedParticle
-
tick
public void tick()- Overrides:
tick
in classSimpleAnimatedParticle
-