Class FireworkParticles.Starter

Enclosing class:
FireworkParticles

public static class FireworkParticles.Starter extends NoRenderParticle
  • 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

      private final ParticleEngine engine
    • explosions

      private final List<FireworkExplosion> explosions
    • twinkleDelay

      private boolean twinkleDelay
  • Constructor Details

  • 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_, 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_)