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
Mappings:
Namespace Name
named net/minecraft/client/particle/FireworksSparkParticle$FireworkParticle
intermediary net/minecraft/class_677$class_681
official gbr$e
  • Field Details

    • CREEPER_PATTERN

      private static final double[][] CREEPER_PATTERN
      Mappings:
      Namespace Name Mixin selector
      named CREEPER_PATTERN Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;CREEPER_PATTERN:[[D
      intermediary field_49565 Lnet/minecraft/class_677$class_681;field_49565:[[D
      official a Lgbr$e;a:[[D
    • STAR_PATTERN

      private static final double[][] STAR_PATTERN
      Mappings:
      Namespace Name Mixin selector
      named STAR_PATTERN Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;STAR_PATTERN:[[D
      intermediary field_49566 Lnet/minecraft/class_677$class_681;field_49566:[[D
      official b Lgbr$e;b:[[D
    • age

      private int age
      Mappings:
      Namespace Name Mixin selector
      named age Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;age:I
      intermediary field_3808 Lnet/minecraft/class_677$class_681;field_3808:I
      official D Lgbr$e;D:I
    • particleManager

      private final ParticleManager particleManager
      Mappings:
      Namespace Name Mixin selector
      named particleManager Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;particleManager:Lnet/minecraft/client/particle/ParticleManager;
      intermediary field_3805 Lnet/minecraft/class_677$class_681;field_3805:Lnet/minecraft/class_702;
      official E Lgbr$e;E:Lgcj;
    • explosions

      private final List<FireworkExplosionComponent> explosions
      Mappings:
      Namespace Name Mixin selector
      named explosions Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explosions:Ljava/util/List;
      intermediary field_3806 Lnet/minecraft/class_677$class_681;field_3806:Ljava/util/List;
      official F Lgbr$e;F:Ljava/util/List;
    • flicker

      private boolean flicker
      Mappings:
      Namespace Name Mixin selector
      named flicker Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;flicker:Z
      intermediary field_3807 Lnet/minecraft/class_677$class_681;field_3807:Z
      official G Lgbr$e;G:Z
  • Constructor Details

    • FireworkParticle

      public FireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, List<FireworkExplosionComponent> fireworkExplosions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/ParticleManager;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_677$class_681;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Ljava/util/List;)V
      official <init> Lgbr$e;<init>(Lfyz;DDDDDDLgcj;Ljava/util/List;)V
  • Method Details

    • tick

      public void tick()
      Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.
      Overrides:
      tick in class Particle
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/particle/Particle;tick()V
      intermediary method_3070 Lnet/minecraft/class_703;method_3070()V
      official a Lgch;a()V
    • isFar

      private boolean isFar()
      Mappings:
      Namespace Name Mixin selector
      named isFar Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;isFar()Z
      intermediary method_3029 Lnet/minecraft/class_677$class_681;method_3029()Z
      official c Lgbr$e;c()Z
    • addExplosionParticle

      private void addExplosionParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, IntList colors, IntList targetColors, boolean trail, boolean flicker)
      Mappings:
      Namespace Name Mixin selector
      named addExplosionParticle Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;addExplosionParticle(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
      intermediary method_3030 Lnet/minecraft/class_677$class_681;method_3030(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
      official a Lgbr$e;a(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
    • explodeBall

      private void explodeBall(double size, int amount, IntList colors, IntList targetColors, boolean trail, boolean flicker)
      Mappings:
      Namespace Name Mixin selector
      named explodeBall Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBall(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
      intermediary method_3031 Lnet/minecraft/class_677$class_681;method_3031(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
      official a Lgbr$e;a(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
    • explodeStar

      private void explodeStar(double size, double[][] pattern, IntList colors, IntList targetColors, boolean trail, boolean flicker, boolean keepShape)
      Mappings:
      Namespace Name Mixin selector
      named explodeStar Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeStar(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)V
      intermediary method_3028 Lnet/minecraft/class_677$class_681;method_3028(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)V
      official a Lgbr$e;a(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)V
    • explodeBurst

      private void explodeBurst(IntList colors, IntList targetColors, boolean trail, boolean flicker)
      Mappings:
      Namespace Name Mixin selector
      named explodeBurst Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBurst(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
      intermediary method_3032 Lnet/minecraft/class_677$class_681;method_3032(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
      official a Lgbr$e;a(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V