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
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ParticleEngine
private ListTag
private int
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_, CompoundTag p_106765_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createParticle
(double p_106768_, double p_106769_, double p_106770_, double p_106771_, double p_106772_, double p_106773_, int[] p_106774_, int[] p_106775_, boolean p_106776_, boolean p_106777_) void
createParticleBall
(double p_106779_, int p_106780_, int[] p_106781_, int[] p_106782_, boolean p_106783_, boolean p_106784_) void
createParticleBurst
(int[] p_106794_, int[] p_106795_, boolean p_106796_, boolean p_106797_) void
createParticleShape
(double p_106786_, double[][] p_106787_, int[] p_106788_, int[] p_106789_, 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
-
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_, @Nullable CompoundTag p_106765_)
-
-
Method Details
-
tick
public void tick() -
isFarAwayFromCamera
private boolean isFarAwayFromCamera() -
createParticle
public void createParticle(double p_106768_, double p_106769_, double p_106770_, double p_106771_, double p_106772_, double p_106773_, int[] p_106774_, int[] p_106775_, boolean p_106776_, boolean p_106777_) -
createParticleBall
public void createParticleBall(double p_106779_, int p_106780_, int[] p_106781_, int[] p_106782_, boolean p_106783_, boolean p_106784_) -
createParticleShape
public void createParticleShape(double p_106786_, double[][] p_106787_, int[] p_106788_, int[] p_106789_, boolean p_106790_, boolean p_106791_, boolean p_106792_) -
createParticleBurst
public void createParticleBurst(int[] p_106794_, int[] p_106795_, boolean p_106796_, boolean p_106797_)
-