Package net.minecraft.client.particle
Class SimpleAnimatedParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.TexturedParticle
net.minecraft.client.particle.SpriteTexturedParticle
net.minecraft.client.particle.SimpleAnimatedParticle
- Direct Known Subclasses:
EndRodParticle
,FireworkParticle.Spark
,SquidInkParticle
,TotemOfUndyingParticle
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private final float
private float
private float
private float
private boolean
protected final IAnimatedSprite
Fields inherited from class net.minecraft.client.particle.SpriteTexturedParticle
sprite
Fields inherited from class net.minecraft.client.particle.TexturedParticle
quadSize
-
Constructor Summary
ModifierConstructorDescriptionprotected
SimpleAnimatedParticle
(ClientWorld p_i232422_1_, double p_i232422_2_, double p_i232422_4_, double p_i232422_6_, IAnimatedSprite p_i232422_8_, float p_i232422_9_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_189214_1_) protected void
setBaseAirFriction
(float p_191238_1_) void
setColor
(int p_187146_1_) void
setFadeColor
(int p_187145_1_) void
tick()
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, render, 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
-
sprites
-
baseGravity
private final float baseGravity -
baseAirFriction
private float baseAirFriction -
fadeR
private float fadeR -
fadeG
private float fadeG -
fadeB
private float fadeB -
hasFade
private boolean hasFade
-
-
Constructor Details
-
SimpleAnimatedParticle
protected SimpleAnimatedParticle(ClientWorld p_i232422_1_, double p_i232422_2_, double p_i232422_4_, double p_i232422_6_, IAnimatedSprite p_i232422_8_, float p_i232422_9_)
-
-
Method Details
-
setColor
public void setColor(int p_187146_1_) -
setFadeColor
public void setFadeColor(int p_187145_1_) -
getRenderType
- Specified by:
getRenderType
in classParticle
-
tick
public void tick() -
getLightColor
public int getLightColor(float p_189214_1_) - Overrides:
getLightColor
in classParticle
-
setBaseAirFriction
protected void setBaseAirFriction(float p_191238_1_)
-