Package net.minecraft.client.particle
Class FireworkParticles.SparkParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.SimpleAnimatedParticle
net.minecraft.client.particle.FireworkParticles.SparkParticle
- Enclosing class:
FireworkParticles
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle
SingleQuadParticle.FacingCameraMode
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.LifetimeAlpha
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ParticleEngine
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.TextureSheetParticle
sprite
Fields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize
-
Constructor Summary
ConstructorDescriptionSparkParticle
(ClientLevel p_106702_, double p_106703_, double p_106704_, double p_106705_, double p_106706_, double p_106707_, double p_106708_, ParticleEngine p_106709_, SpriteSet p_106710_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(VertexConsumer p_106724_, Camera p_106725_, float p_106726_) void
setTrail
(boolean p_106728_) void
setTwinkle
(boolean p_331940_) void
tick()
Methods inherited from class net.minecraft.client.particle.SimpleAnimatedParticle
getLightColor, getRenderType, setColor, setFadeColor
Methods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge
Methods inherited from class net.minecraft.client.particle.SingleQuadParticle
getFacingCameraMode, getQuadSize, getRenderBoundingBox, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, getPos, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, toString
-
Field Details
-
trail
private boolean trail -
twinkle
private boolean twinkle -
engine
-
fadeR
private float fadeR -
fadeG
private float fadeG -
fadeB
private float fadeB -
hasFade
private boolean hasFade
-
-
Constructor Details
-
SparkParticle
SparkParticle(ClientLevel p_106702_, double p_106703_, double p_106704_, double p_106705_, double p_106706_, double p_106707_, double p_106708_, ParticleEngine p_106709_, SpriteSet p_106710_)
-
-
Method Details
-
setTrail
public void setTrail(boolean p_106728_) -
setTwinkle
public void setTwinkle(boolean p_331940_) -
render
- Overrides:
render
in classSingleQuadParticle
-
tick
public void tick()- Overrides:
tick
in classSimpleAnimatedParticle
-