Class DamageParticle.Factory

java.lang.Object
net.minecraft.client.particle.DamageParticle.Factory
All Implemented Interfaces:
ParticleFactory<DefaultParticleType>
Enclosing class:
DamageParticle

@Environment(CLIENT) public static class DamageParticle.Factory extends Object implements ParticleFactory<DefaultParticleType>
Mappings:
Namespace Name
official ffc$c
intermediary net/minecraft/class_657$class_3939
named net/minecraft/client/particle/DamageParticle$Factory
  • Field Details

    • spriteProvider

      private final SpriteProvider spriteProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lffc$c;a:Lfgt;
      intermediary field_18291 Lnet/minecraft/class_657$class_3939;field_18291:Lnet/minecraft/class_4002;
      named spriteProvider Lnet/minecraft/client/particle/DamageParticle$Factory;spriteProvider:Lnet/minecraft/client/particle/SpriteProvider;
  • Constructor Details

    • Factory

      public Factory(SpriteProvider spriteProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lffc$c;<init>(Lfgt;)V
      intermediary <init> Lnet/minecraft/class_657$class_3939;<init>(Lnet/minecraft/class_4002;)V
      named <init> Lnet/minecraft/client/particle/DamageParticle$Factory;<init>(Lnet/minecraft/client/particle/SpriteProvider;)V
  • Method Details

    • createParticle

      public Particle createParticle(DefaultParticleType defaultParticleType, ClientWorld clientWorld, double double2, double double3, double double4, double double5, double double6, double double7)
      Specified by:
      createParticle in interface ParticleFactory<DefaultParticleType>
      Mappings:
      Namespace Name Mixin selector
      official a Lffc$c;a(Lix;Lfdj;DDDDDD)Lffy;
      intermediary method_17580 Lnet/minecraft/class_657$class_3939;method_17580(Lnet/minecraft/class_2400;Lnet/minecraft/class_638;DDDDDD)Lnet/minecraft/class_703;
      named createParticle Lnet/minecraft/client/particle/DamageParticle$Factory;createParticle(Lnet/minecraft/particle/DefaultParticleType;Lnet/minecraft/client/world/ClientWorld;DDDDDD)Lnet/minecraft/client/particle/Particle;