public static class ParticleFirework.Spark extends ParticleSimpleAnimated
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 |
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 |
---|
Spark(World p_i46465_1_,
double p_i46465_2_,
double p_i46465_4_,
double p_i46465_6_,
double p_i46465_8_,
double p_i46465_10_,
double p_i46465_12_,
ParticleManager p_i46465_14_) |
Modifier and Type | Method and Description |
---|---|
void |
onUpdate() |
void |
renderParticle(BufferBuilder buffer,
Entity entityIn,
float partialTicks,
float rotationX,
float rotationZ,
float rotationYZ,
float rotationXY,
float rotationXZ) |
void |
setTrail(boolean trailIn) |
void |
setTwinkle(boolean twinkleIn) |
boolean |
shouldDisableDepth() |
getBrightnessForRender, setBaseAirFriction, setColor, setColorFade
getBlueColorF, getBoundingBox, getFXLayer, getGreenColorF, getRedColorF, isAlive, move, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, resetPositionToBB, setAlphaF, setBoundingBox, setExpired, setMaxAge, setParticleTexture, setParticleTextureIndex, setPosition, setRBGColorF, setSize, toString
private boolean trail
private boolean twinkle
private final ParticleManager effectRenderer
private float fadeColourRed
private float fadeColourGreen
private float fadeColourBlue
private boolean hasFadeColour
public Spark(World p_i46465_1_, double p_i46465_2_, double p_i46465_4_, double p_i46465_6_, double p_i46465_8_, double p_i46465_10_, double p_i46465_12_, ParticleManager p_i46465_14_)
public void setTrail(boolean trailIn)
public void setTwinkle(boolean twinkleIn)
public boolean shouldDisableDepth()
shouldDisableDepth
in class ParticleSimpleAnimated
public void renderParticle(BufferBuilder buffer, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ)
renderParticle
in class Particle
public void onUpdate()
onUpdate
in class ParticleSimpleAnimated