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
public class SimpleAnimatedParticle extends SpriteTexturedParticle
-
-
Field Summary
Fields Modifier and Type Field Description private float
baseAirFriction
private float
baseGravity
private float
fadeB
private float
fadeG
private float
fadeR
private boolean
hasFade
protected IAnimatedSprite
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 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLightColor(float p_189214_1_)
IParticleRenderType
getRenderType()
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 Detail
-
sprites
protected final IAnimatedSprite 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 Detail
-
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 Detail
-
setColor
public void setColor(int p_187146_1_)
-
setFadeColor
public void setFadeColor(int p_187145_1_)
-
getRenderType
public IParticleRenderType getRenderType()
- Specified by:
getRenderType
in classParticle
-
getLightColor
public int getLightColor(float p_189214_1_)
- Overrides:
getLightColor
in classParticle
-
setBaseAirFriction
protected void setBaseAirFriction(float p_191238_1_)
-
-