Class EmitterParticle


@Environment(CLIENT) public class EmitterParticle extends NoRenderParticle
Mappings:
Namespace Name
official fmw
intermediary net/minecraft/class_733
named net/minecraft/client/particle/EmitterParticle
  • Field Details

    • entity

      private final Entity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lfmw;a:Lbiq;
      intermediary field_3894 Lnet/minecraft/class_733;field_3894:Lnet/minecraft/class_1297;
      named entity Lnet/minecraft/client/particle/EmitterParticle;entity:Lnet/minecraft/entity/Entity;
    • emitterAge

      private int emitterAge
      Mappings:
      Namespace Name Mixin selector
      official b Lfmw;b:I
      intermediary field_3896 Lnet/minecraft/class_733;field_3896:I
      named emitterAge Lnet/minecraft/client/particle/EmitterParticle;emitterAge:I
    • maxEmitterAge

      private final int maxEmitterAge
      Mappings:
      Namespace Name Mixin selector
      official D Lfmw;D:I
      intermediary field_3895 Lnet/minecraft/class_733;field_3895:I
      named maxEmitterAge Lnet/minecraft/client/particle/EmitterParticle;maxEmitterAge:I
    • parameters

      private final ParticleEffect parameters
      Mappings:
      Namespace Name Mixin selector
      official E Lfmw;E:Lit;
      intermediary field_3893 Lnet/minecraft/class_733;field_3893:Lnet/minecraft/class_2394;
      named parameters Lnet/minecraft/client/particle/EmitterParticle;parameters:Lnet/minecraft/particle/ParticleEffect;
  • Constructor Details

    • EmitterParticle

      public EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfmw;<init>(Lfix;Lbiq;Lit;)V
      intermediary <init> Lnet/minecraft/class_733;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_2394;)V
      named <init> Lnet/minecraft/client/particle/EmitterParticle;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/particle/ParticleEffect;)V
    • EmitterParticle

      public EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfmw;<init>(Lfix;Lbiq;Lit;I)V
      intermediary <init> Lnet/minecraft/class_733;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_2394;I)V
      named <init> Lnet/minecraft/client/particle/EmitterParticle;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/particle/ParticleEffect;I)V
    • EmitterParticle

      private EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfmw;<init>(Lfix;Lbiq;Lit;ILehn;)V
      intermediary <init> Lnet/minecraft/class_733;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_2394;ILnet/minecraft/class_243;)V
      named <init> Lnet/minecraft/client/particle/EmitterParticle;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/particle/ParticleEffect;ILnet/minecraft/util/math/Vec3d;)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
      official a Lflu;a()V
      intermediary method_3070 Lnet/minecraft/class_703;method_3070()V
      named tick Lnet/minecraft/client/particle/Particle;tick()V