Package net.minecraft.client.particle
Class SimpleAnimatedParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.SimpleAnimatedParticle
- Direct Known Subclasses:
EndRodParticle
,FireworkParticles.SparkParticle
,SquidInkParticle
,TotemParticle
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private float
private float
private boolean
protected final SpriteSet
Fields inherited from class net.minecraft.client.particle.TextureSheetParticle
sprite
Fields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize
-
Constructor Summary
ModifierConstructorDescriptionprotected
SimpleAnimatedParticle
(ClientLevel p_107647_, double p_107648_, double p_107649_, double p_107650_, SpriteSet p_107651_, float p_107652_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_107655_) void
setColor
(int p_107658_) void
setFadeColor
(int p_107660_) void
tick()
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
getQuadSize, render, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Field Details
-
sprites
-
fadeR
private float fadeR -
fadeG
private float fadeG -
fadeB
private float fadeB -
hasFade
private boolean hasFade
-
-
Constructor Details
-
SimpleAnimatedParticle
protected SimpleAnimatedParticle(ClientLevel p_107647_, double p_107648_, double p_107649_, double p_107650_, SpriteSet p_107651_, float p_107652_)
-
-
Method Details
-
setColor
public void setColor(int p_107658_) -
setFadeColor
public void setFadeColor(int p_107660_) -
getRenderType
- Specified by:
getRenderType
in classParticle
-
tick
public void tick() -
getLightColor
public int getLightColor(float p_107655_) - Overrides:
getLightColor
in classParticle
-