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 ParticleEngine
private final List
<FireworkExplosion> private int
private 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 TypeMethodDescriptionvoid
createParticle
(double x, double y, double z, double xSpeed, double ySpeed, double zSpeed, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) void
createParticleBall
(double speed, int radius, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) void
createParticleBurst
(it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) void
createParticleShape
(double speed, double[][] coords, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle, boolean isCreeper) private boolean
void
tick()
Methods inherited from class net.minecraft.client.particle.NoRenderParticle
getRenderType, render
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, getPos, getRenderBoundingBox, isAlive, move, remove, 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 level, double x, double y, double z, double xd, double yd, double zd, ParticleEngine engine, List<FireworkExplosion> explosions)
-
-
Method Details
-
tick
public void tick() -
isFarAwayFromCamera
private boolean isFarAwayFromCamera() -
createParticle
public void createParticle(double x, double y, double z, double xSpeed, double ySpeed, double zSpeed, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) -
createParticleBall
public void createParticleBall(double speed, int radius, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle) -
createParticleShape
public void createParticleShape(double speed, double[][] coords, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle, boolean isCreeper) -
createParticleBurst
public void createParticleBurst(it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean trail, boolean twinkle)
-