Class FireworksSparkParticle.FireworkParticle

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.NoRenderParticle
net.minecraft.client.particle.FireworksSparkParticle.FireworkParticle
Enclosing class:
FireworksSparkParticle

@Environment(CLIENT)
public static class FireworksSparkParticle.FireworkParticle
extends NoRenderParticle
  • Field Details

    • age

      private int age
    • particleManager

      private final ParticleManager particleManager
    • explosions

      private ListTag explosions
    • flicker

      private boolean flicker
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class Particle
    • isFar

      private boolean isFar()
    • addExplosionParticle

      private void addExplosionParticle​(double x, double y, double z, double velocityX, double velocityY, double velocityZ, int[] colors, int[] fadeColors, boolean trail, boolean flicker)
    • explodeBall

      private void explodeBall​(double size, int amount, int[] colors, int[] fadeColors, boolean trail, boolean flicker)
    • explodeStar

      private void explodeStar​(double size, double[][] pattern, int[] colors, int[] fadeColors, boolean trail, boolean flicker, boolean keepShape)
    • explodeBurst

      private void explodeBurst​(int[] colors, int[] fadeColors, boolean trail, boolean flocker)