static class FireworkParticle.Spark extends SimpleAnimatedParticle
Modifier and Type | Field and Description |
---|---|
private ParticleManager |
effectRenderer |
private float |
fadeColourBlue |
private float |
fadeColourGreen |
private float |
fadeColourRed |
private boolean |
hasFadeColour |
private boolean |
trail |
private boolean |
twinkle |
field_217584_C
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 |
---|---|
private |
Spark(World p_i50884_1_,
double p_i50884_2_,
double p_i50884_4_,
double p_i50884_6_,
double p_i50884_8_,
double p_i50884_10_,
double p_i50884_12_,
ParticleManager p_i50884_14_,
IAnimatedSprite p_i50884_15_) |
Modifier and Type | Method and Description |
---|---|
void |
renderParticle(IVertexBuilder buffer,
ActiveRenderInfo renderInfo,
float partialTicks) |
void |
setTrail(boolean trailIn) |
void |
setTwinkle(boolean twinkleIn) |
void |
tick() |
getBrightnessForRender, getRenderType, setBaseAirFriction, setColor, setColorFade
getMaxU, getMaxV, getMinU, getMinV, selectSpriteRandomly, selectSpriteWithAge, setSprite
getScale, multipleParticleScaleBy
getBoundingBox, getMaxAge, isAlive, move, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, toString
private boolean trail
private boolean twinkle
private final ParticleManager effectRenderer
private float fadeColourRed
private float fadeColourGreen
private float fadeColourBlue
private boolean hasFadeColour
private Spark(World p_i50884_1_, double p_i50884_2_, double p_i50884_4_, double p_i50884_6_, double p_i50884_8_, double p_i50884_10_, double p_i50884_12_, ParticleManager p_i50884_14_, IAnimatedSprite p_i50884_15_)
public void setTrail(boolean trailIn)
public void setTwinkle(boolean twinkleIn)
public void renderParticle(IVertexBuilder buffer, ActiveRenderInfo renderInfo, float partialTicks)
renderParticle
in class TexturedParticle
public void tick()
tick
in class SimpleAnimatedParticle