Package net.minecraft.client.particle
Class FireworkParticles.Starter
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.NoRenderParticle
net.minecraft.client.particle.FireworkParticles.Starter
- Enclosing class:
FireworkParticles
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.LifetimeAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double[][]private final ParticleEngineprivate final List<FireworkExplosion> private intprivate static final double[][]private boolean -
Constructor Summary
ConstructorsConstructorDescriptionStarter(ClientLevel pLevel, double pX, double pY, double pZ, double pXd, double pYd, double pZd, ParticleEngine pEngine, List<FireworkExplosion> pExplosions) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateParticle(double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle) voidcreateParticleBall(double pSpeed, int pRadius, it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle) voidcreateParticleBurst(it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle) voidcreateParticleShape(double pSpeed, double[][] pCoords, it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle, boolean pIsCreeper) private booleanvoidtick()Methods inherited from class net.minecraft.client.particle.NoRenderParticle
getRenderType, renderMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, getPos, getRenderBoundingBox, isAlive, move, remove, renderCustom, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, toString
-
Field Details
-
CREEPER_PARTICLE_COORDS
private static final double[][] CREEPER_PARTICLE_COORDS -
STAR_PARTICLE_COORDS
private static final double[][] STAR_PARTICLE_COORDS -
life
private int life -
engine
-
explosions
-
twinkleDelay
private boolean twinkleDelay
-
-
Constructor Details
-
Starter
public Starter(ClientLevel pLevel, double pX, double pY, double pZ, double pXd, double pYd, double pZd, ParticleEngine pEngine, List<FireworkExplosion> pExplosions)
-
-
Method Details
-
tick
public void tick() -
isFarAwayFromCamera
private boolean isFarAwayFromCamera() -
createParticle
public void createParticle(double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle) -
createParticleBall
public void createParticleBall(double pSpeed, int pRadius, it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle) -
createParticleShape
public void createParticleShape(double pSpeed, double[][] pCoords, it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle, boolean pIsCreeper) -
createParticleBurst
public void createParticleBurst(it.unimi.dsi.fastutil.ints.IntList pColors, it.unimi.dsi.fastutil.ints.IntList pFadeColors, boolean pTrail, boolean pTwinkle)
-