Class FireworkParticles.Starter

Enclosing class:
FireworkParticles

public static class FireworkParticles.Starter extends NoRenderParticle
  • Field Details

    • life

      private int life
    • engine

      private final ParticleEngine engine
    • explosions

      private ListTag 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()
      Overrides:
      tick in class Particle
    • 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_, int[] p_106774_, int[] p_106775_, boolean p_106776_, boolean p_106777_)
    • createParticleBall

      private void createParticleBall(double p_106779_, int p_106780_, int[] p_106781_, int[] p_106782_, boolean p_106783_, boolean p_106784_)
    • createParticleShape

      private void createParticleShape(double p_106786_, double[][] p_106787_, int[] p_106788_, int[] p_106789_, boolean p_106790_, boolean p_106791_, boolean p_106792_)
    • createParticleBurst

      private void createParticleBurst(int[] p_106794_, int[] p_106795_, boolean p_106796_, boolean p_106797_)