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
Modifier and TypeFieldDescriptionprivate static final double[][]
private final ParticleEngine
private final List
<FireworkExplosion> private int
private static final double[][]
private boolean
-
Constructor Summary
ConstructorDescriptionStarter
(ClientLevel p_106757_, double p_106758_, double p_106759_, double p_106760_, double p_106761_, double p_106762_, double p_106763_, ParticleEngine p_106764_, List<FireworkExplosion> p_332725_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
createParticle
(double p_106768_, double p_106769_, double p_106770_, double p_106771_, double p_106772_, double p_106773_, it.unimi.dsi.fastutil.ints.IntList p_329729_, it.unimi.dsi.fastutil.ints.IntList p_330193_, boolean p_106776_, boolean p_106777_) private void
createParticleBall
(double p_106779_, int p_106780_, it.unimi.dsi.fastutil.ints.IntList p_331387_, it.unimi.dsi.fastutil.ints.IntList p_331480_, boolean p_106783_, boolean p_106784_) private void
createParticleBurst
(it.unimi.dsi.fastutil.ints.IntList p_336354_, it.unimi.dsi.fastutil.ints.IntList p_328829_, boolean p_106796_, boolean p_106797_) private void
createParticleShape
(double p_106786_, double[][] p_106787_, it.unimi.dsi.fastutil.ints.IntList p_330103_, it.unimi.dsi.fastutil.ints.IntList p_332201_, boolean p_106790_, boolean p_106791_, boolean p_106792_) 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, isAlive, move, remove, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, 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 p_106757_, double p_106758_, double p_106759_, double p_106760_, double p_106761_, double p_106762_, double p_106763_, ParticleEngine p_106764_, List<FireworkExplosion> p_332725_)
-
-
Method Details
-
tick
public void tick() -
isFarAwayFromCamera
private boolean isFarAwayFromCamera() -
createParticle
private void createParticle(double p_106768_, double p_106769_, double p_106770_, double p_106771_, double p_106772_, double p_106773_, it.unimi.dsi.fastutil.ints.IntList p_329729_, it.unimi.dsi.fastutil.ints.IntList p_330193_, boolean p_106776_, boolean p_106777_) -
createParticleBall
private void createParticleBall(double p_106779_, int p_106780_, it.unimi.dsi.fastutil.ints.IntList p_331387_, it.unimi.dsi.fastutil.ints.IntList p_331480_, boolean p_106783_, boolean p_106784_) -
createParticleShape
private void createParticleShape(double p_106786_, double[][] p_106787_, it.unimi.dsi.fastutil.ints.IntList p_330103_, it.unimi.dsi.fastutil.ints.IntList p_332201_, boolean p_106790_, boolean p_106791_, boolean p_106792_) -
createParticleBurst
private void createParticleBurst(it.unimi.dsi.fastutil.ints.IntList p_336354_, it.unimi.dsi.fastutil.ints.IntList p_328829_, boolean p_106796_, boolean p_106797_)
-