@Environment(value=CLIENT) static class FireworksSparkParticle.Explosion extends AnimatedParticle
Modifier and Type | Field and Description |
---|---|
private float |
field_3799 |
private float |
field_3800 |
private float |
field_3801 |
private boolean |
field_3802 |
private boolean |
flicker |
private ParticleManager |
particleManager |
private boolean |
trail |
spriteProvider
sprite
scale
age, angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z
Modifier | Constructor and Description |
---|---|
private |
Explosion(ClientWorld world,
double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ,
ParticleManager particleManager,
SpriteProvider spriteProvider) |
Modifier and Type | Method and Description |
---|---|
void |
buildGeometry(VertexConsumer vertexConsumer,
Camera camera,
float tickDelta) |
void |
setFlicker(boolean flicker) |
void |
setTrail(boolean trail) |
void |
tick() |
getColorMultiplier, getType, setColor, setResistance, setTargetColor
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAge
getSize, scale
getBoundingBox, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
private boolean trail
private boolean flicker
private final ParticleManager particleManager
private float field_3801
private float field_3800
private float field_3799
private boolean field_3802
private Explosion(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, SpriteProvider spriteProvider)
public void setTrail(boolean trail)
public void setFlicker(boolean flicker)
public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
buildGeometry
in class BillboardParticle
public void tick()
tick
in class AnimatedParticle