Class FireworksSparkParticle.Explosion

Enclosing class:
FireworksSparkParticle

@Environment(CLIENT) private static class FireworksSparkParticle.Explosion extends AnimatedParticle
Mappings:
Namespace Name
official ffm$c
intermediary net/minecraft/class_677$class_680
named net/minecraft/client/particle/FireworksSparkParticle$Explosion
  • Field Details

    • trail

      private boolean trail
      Mappings:
      Namespace Name Mixin selector
      official b Lffm$c;b:Z
      intermediary field_3804 Lnet/minecraft/class_677$class_680;field_3804:Z
      named trail Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;trail:Z
    • flicker

      private boolean flicker
      Mappings:
      Namespace Name Mixin selector
      official F Lffm$c;F:Z
      intermediary field_3803 Lnet/minecraft/class_677$class_680;field_3803:Z
      named flicker Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;flicker:Z
    • particleManager

      private final ParticleManager particleManager
      Mappings:
      Namespace Name Mixin selector
      official G Lffm$c;G:Lfga;
      intermediary field_3798 Lnet/minecraft/class_677$class_680;field_3798:Lnet/minecraft/class_702;
      named particleManager Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;particleManager:Lnet/minecraft/client/particle/ParticleManager;
    • field_3801

      private float field_3801
      Mappings:
      Namespace Name Mixin selector
      official H Lffm$c;H:F
      intermediary field_3801 Lnet/minecraft/class_677$class_680;field_3801:F
      named field_3801 Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3801:F
    • field_3800

      private float field_3800
      Mappings:
      Namespace Name Mixin selector
      official I Lffm$c;I:F
      intermediary field_3800 Lnet/minecraft/class_677$class_680;field_3800:F
      named field_3800 Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3800:F
    • field_3799

      private float field_3799
      Mappings:
      Namespace Name Mixin selector
      official J Lffm$c;J:F
      intermediary field_3799 Lnet/minecraft/class_677$class_680;field_3799:F
      named field_3799 Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3799:F
    • field_3802

      private boolean field_3802
      Mappings:
      Namespace Name Mixin selector
      official K Lffm$c;K:Z
      intermediary field_3802 Lnet/minecraft/class_677$class_680;field_3802:Z
      named field_3802 Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3802:Z
  • Constructor Details

    • Explosion

      Explosion(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, SpriteProvider spriteProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lffm$c;<init>(Lfdj;DDDDDDLfga;Lfgt;)V
      intermediary <init> Lnet/minecraft/class_677$class_680;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Lnet/minecraft/class_4002;)V
      named <init> Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/ParticleManager;Lnet/minecraft/client/particle/SpriteProvider;)V
  • Method Details

    • setTrail

      public void setTrail(boolean trail)
      Mappings:
      Namespace Name Mixin selector
      official a Lffm$c;a(Z)V
      intermediary method_3027 Lnet/minecraft/class_677$class_680;method_3027(Z)V
      named setTrail Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;setTrail(Z)V
    • setFlicker

      public void setFlicker(boolean flicker)
      Mappings:
      Namespace Name Mixin selector
      official b Lffm$c;b(Z)V
      intermediary method_3026 Lnet/minecraft/class_677$class_680;method_3026(Z)V
      named setFlicker Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;setFlicker(Z)V
    • buildGeometry

      public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
      Renders this particle to the given VertexConsumer buffer.
      Overrides:
      buildGeometry in class BillboardParticle
      Parameters:
      vertexConsumer - the buffer to render to
      camera - the current active game Camera
      tickDelta - frame tick delta amount
      Mappings:
      Namespace Name Mixin selector
      official a Lffy;a(Lehi;Lelt;F)V
      intermediary method_3074 Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
      named buildGeometry Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
    • 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 AnimatedParticle
      Mappings:
      Namespace Name Mixin selector
      official a Lffy;a()V
      intermediary method_3070 Lnet/minecraft/class_703;method_3070()V
      named tick Lnet/minecraft/client/particle/Particle;tick()V