public class SimpleAnimatedParticle extends SpriteTexturedParticle
Modifier and Type | Field and Description |
---|---|
private float |
baseAirFriction |
private float |
fadeTargetBlue |
private float |
fadeTargetGreen |
private float |
fadeTargetRed |
private boolean |
fadingColor |
protected IAnimatedSprite |
field_217584_C |
private float |
yAccel |
sprite
particleScale
age, canCollide, height, isExpired, maxAge, motionX, motionY, motionZ, onGround, particleAlpha, particleAngle, particleBlue, particleGravity, particleGreen, particleRed, posX, posY, posZ, prevParticleAngle, prevPosX, prevPosY, prevPosZ, rand, width, world
Modifier | Constructor and Description |
---|---|
protected |
SimpleAnimatedParticle(World p_i51013_1_,
double p_i51013_2_,
double p_i51013_4_,
double p_i51013_6_,
IAnimatedSprite p_i51013_8_,
float p_i51013_9_) |
Modifier and Type | Method and Description |
---|---|
int |
getBrightnessForRender(float partialTick) |
IParticleRenderType |
getRenderType() |
protected void |
setBaseAirFriction(float p_191238_1_) |
void |
setColor(int p_187146_1_) |
void |
setColorFade(int rgb) |
void |
tick() |
getMaxU, getMaxV, getMinU, getMinV, selectSpriteRandomly, selectSpriteWithAge, setSprite
getScale, multipleParticleScaleBy, renderParticle
getBoundingBox, getMaxAge, isAlive, move, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, toString
protected final IAnimatedSprite field_217584_C
private final float yAccel
private float baseAirFriction
private float fadeTargetRed
private float fadeTargetGreen
private float fadeTargetBlue
private boolean fadingColor
protected SimpleAnimatedParticle(World p_i51013_1_, double p_i51013_2_, double p_i51013_4_, double p_i51013_6_, IAnimatedSprite p_i51013_8_, float p_i51013_9_)
public void setColor(int p_187146_1_)
public void setColorFade(int rgb)
public IParticleRenderType getRenderType()
getRenderType
in class Particle
public int getBrightnessForRender(float partialTick)
getBrightnessForRender
in class Particle
protected void setBaseAirFriction(float p_191238_1_)