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 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 level, double x, double y, double z, double xd, double yd, double zd, ParticleEngine engine, List<FireworkExplosion> explosions) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateParticle(double x, double y, double z, double xa, double ya, double za, it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) voidcreateParticleBall(double baseSpeed, int steps, it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) voidcreateParticleBurst(it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) voidcreateParticleShape(double baseSpeed, double[][] coords, it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle, boolean flat) private booleanvoidtick()Methods inherited from class NoRenderParticle
getGroupMethods inherited from class Particle
getBoundingBox, getLifetime, getLightCoords, getParticleLimit, getPos, isAlive, move, remove, scale, setBoundingBox, 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 level, double x, double y, double z, double xd, double yd, double zd, ParticleEngine engine, List<FireworkExplosion> explosions)
-
-
Method Details
-
tick
-
isFarAwayFromCamera
private boolean isFarAwayFromCamera() -
createParticle
public void createParticle(double x, double y, double z, double xa, double ya, double za, it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) -
createParticleBall
public void createParticleBall(double baseSpeed, int steps, it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) -
createParticleShape
public void createParticleShape(double baseSpeed, double[][] coords, it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle, boolean flat) -
createParticleBurst
public void createParticleBurst(it.unimi.dsi.fastutil.ints.IntList rgbColors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle)
-