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_330899_) -
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_330262_, it.unimi.dsi.fastutil.ints.IntList p_330897_, boolean p_106776_, boolean p_106777_) private void
createParticleBall
(double p_106779_, int p_106780_, it.unimi.dsi.fastutil.ints.IntList p_331243_, it.unimi.dsi.fastutil.ints.IntList p_330912_, boolean p_106783_, boolean p_106784_) private void
createParticleBurst
(it.unimi.dsi.fastutil.ints.IntList p_330681_, it.unimi.dsi.fastutil.ints.IntList p_331575_, boolean p_106796_, boolean p_106797_) private void
createParticleShape
(double p_106786_, double[][] p_106787_, it.unimi.dsi.fastutil.ints.IntList p_330715_, it.unimi.dsi.fastutil.ints.IntList p_331438_, 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, 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 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_330899_)
-
-
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_330262_, it.unimi.dsi.fastutil.ints.IntList p_330897_, boolean p_106776_, boolean p_106777_) -
createParticleBall
private void createParticleBall(double p_106779_, int p_106780_, it.unimi.dsi.fastutil.ints.IntList p_331243_, it.unimi.dsi.fastutil.ints.IntList p_330912_, boolean p_106783_, boolean p_106784_) -
createParticleShape
private void createParticleShape(double p_106786_, double[][] p_106787_, it.unimi.dsi.fastutil.ints.IntList p_330715_, it.unimi.dsi.fastutil.ints.IntList p_331438_, boolean p_106790_, boolean p_106791_, boolean p_106792_) -
createParticleBurst
private void createParticleBurst(it.unimi.dsi.fastutil.ints.IntList p_330681_, it.unimi.dsi.fastutil.ints.IntList p_331575_, boolean p_106796_, boolean p_106797_)
-