public static class ParticleFirework.Starter extends Particle
Modifier and Type | Field and Description |
---|---|
private int |
fireworkAge |
private NBTTagList |
fireworkExplosions |
private ParticleManager |
manager |
(package 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 |
---|
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_,
NBTTagCompound 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_) |
int |
getFXLayer() |
private boolean |
isFarFromCamera() |
void |
onUpdate() |
void |
renderParticle(BufferBuilder buffer,
Entity entityIn,
float partialTicks,
float rotationX,
float rotationZ,
float rotationYZ,
float rotationXY,
float rotationXZ) |
getBlueColorF, getBoundingBox, getBrightnessForRender, getGreenColorF, getRedColorF, isAlive, move, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, resetPositionToBB, setAlphaF, setBoundingBox, setExpired, setMaxAge, setParticleTexture, setParticleTextureIndex, setPosition, setRBGColorF, setSize, shouldDisableDepth, toString
private int fireworkAge
private final ParticleManager manager
private NBTTagList fireworkExplosions
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 NBTTagCompound p_i46464_15_)
public void renderParticle(BufferBuilder buffer, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ)
renderParticle
in class Particle
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)
public int getFXLayer()
getFXLayer
in class Particle