public class ParticleSimpleAnimated extends Particle
Modifier and Type | Field and Description |
---|---|
private float |
baseAirFriction |
private float |
fadeTargetBlue |
private float |
fadeTargetGreen |
private float |
fadeTargetRed |
private boolean |
fadingColor |
private int |
numAgingFrames |
private int |
textureIdx |
private float |
yAccel |
cameraViewDir, canCollide, height, interpPosX, interpPosY, interpPosZ, isExpired, motionX, motionY, motionZ, onGround, particleAge, particleAlpha, particleAngle, particleBlue, particleGravity, particleGreen, particleMaxAge, particleRed, particleScale, particleTexture, particleTextureIndexX, particleTextureIndexY, particleTextureJitterX, particleTextureJitterY, posX, posY, posZ, prevParticleAngle, prevPosX, prevPosY, prevPosZ, rand, width, world
Constructor and Description |
---|
ParticleSimpleAnimated(World worldIn,
double x,
double y,
double z,
int textureIdxIn,
int numFrames,
float yAccelIn) |
Modifier and Type | Method and Description |
---|---|
int |
getBrightnessForRender(float p_189214_1_) |
void |
onUpdate() |
protected void |
setBaseAirFriction(float p_191238_1_) |
void |
setColor(int p_187146_1_) |
void |
setColorFade(int rgb) |
boolean |
shouldDisableDepth() |
getBlueColorF, getBoundingBox, getFXLayer, getGreenColorF, getRedColorF, isAlive, move, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, renderParticle, resetPositionToBB, setAlphaF, setBoundingBox, setExpired, setMaxAge, setParticleTexture, setParticleTextureIndex, setPosition, setRBGColorF, setSize, toString
private final int textureIdx
private final int numAgingFrames
private final float yAccel
private float baseAirFriction
private float fadeTargetRed
private float fadeTargetGreen
private float fadeTargetBlue
private boolean fadingColor
public ParticleSimpleAnimated(World worldIn, double x, double y, double z, int textureIdxIn, int numFrames, float yAccelIn)
public void setColor(int p_187146_1_)
public void setColorFade(int rgb)
public boolean shouldDisableDepth()
shouldDisableDepth
in class Particle
public int getBrightnessForRender(float p_189214_1_)
getBrightnessForRender
in class Particle
protected void setBaseAirFriction(float p_191238_1_)