public static class FireworkParticle.Starter extends MetaParticle
| Modifier and Type | Field and Description |
|---|---|
private int |
fireworkAge |
private ListNBT |
fireworkExplosions |
private ParticleManager |
manager |
private boolean |
twinkle |
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| Constructor and Description |
|---|
Starter(World p_i46464_1_,
double p_i46464_2_,
double p_i46464_4_,
double p_i46464_6_,
double p_i46464_8_,
double p_i46464_10_,
double p_i46464_12_,
ParticleManager p_i46464_14_,
CompoundNBT p_i46464_15_) |
| Modifier and Type | Method and Description |
|---|---|
private void |
createBall(double speed,
int size,
int[] colours,
int[] fadeColours,
boolean trail,
boolean twinkleIn) |
private void |
createBurst(int[] colours,
int[] fadeColours,
boolean trail,
boolean twinkleIn) |
private void |
createParticle(double p_92034_1_,
double p_92034_3_,
double p_92034_5_,
double p_92034_7_,
double p_92034_9_,
double p_92034_11_,
int[] p_92034_13_,
int[] p_92034_14_,
boolean p_92034_15_,
boolean p_92034_16_) |
private void |
createShaped(double speed,
double[][] shape,
int[] colours,
int[] fadeColours,
boolean trail,
boolean twinkleIn,
boolean p_92038_8_) |
private boolean |
isFarFromCamera() |
void |
tick() |
getRenderType, renderParticlegetBoundingBox, getBrightnessForRender, getMaxAge, isAlive, move, multipleParticleScaleBy, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, toStringprivate int fireworkAge
private final ParticleManager manager
private ListNBT fireworkExplosions
private boolean twinkle
public Starter(World p_i46464_1_, double p_i46464_2_, double p_i46464_4_, double p_i46464_6_, double p_i46464_8_, double p_i46464_10_, double p_i46464_12_, ParticleManager p_i46464_14_, @Nullable CompoundNBT p_i46464_15_)
private boolean isFarFromCamera()
private void createParticle(double p_92034_1_,
double p_92034_3_,
double p_92034_5_,
double p_92034_7_,
double p_92034_9_,
double p_92034_11_,
int[] p_92034_13_,
int[] p_92034_14_,
boolean p_92034_15_,
boolean p_92034_16_)
private void createBall(double speed,
int size,
int[] colours,
int[] fadeColours,
boolean trail,
boolean twinkleIn)
private void createShaped(double speed,
double[][] shape,
int[] colours,
int[] fadeColours,
boolean trail,
boolean twinkleIn,
boolean p_92038_8_)
private void createBurst(int[] colours,
int[] fadeColours,
boolean trail,
boolean twinkleIn)