Class EntityEffectParticleEffect

java.lang.Object
net.minecraft.particle.EntityEffectParticleEffect
All Implemented Interfaces:
ParticleEffect

public class EntityEffectParticleEffect extends Object implements ParticleEffect
Mappings:
Namespace Name
named net/minecraft/particle/EntityEffectParticleEffect
intermediary net/minecraft/class_9381
official lb
  • Field Details

    • type

      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/particle/EntityEffectParticleEffect;type:Lnet/minecraft/particle/ParticleType;
      intermediary field_49909 Lnet/minecraft/class_9381;field_49909:Lnet/minecraft/class_2396;
      official a Llb;a:Llh;
    • color

      private final int color
      Mappings:
      Namespace Name Mixin selector
      named color Lnet/minecraft/particle/EntityEffectParticleEffect;color:I
      intermediary field_49910 Lnet/minecraft/class_9381;field_49910:I
      official b Llb;b:I
  • Constructor Details

    • EntityEffectParticleEffect

      private EntityEffectParticleEffect(ParticleType<EntityEffectParticleEffect> type, int color)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/particle/EntityEffectParticleEffect;<init>(Lnet/minecraft/particle/ParticleType;I)V
      intermediary <init> Lnet/minecraft/class_9381;<init>(Lnet/minecraft/class_2396;I)V
      official <init> Llb;<init>(Llh;I)V
  • Method Details

    • createCodec

      public static com.mojang.serialization.MapCodec<EntityEffectParticleEffect> createCodec(ParticleType<EntityEffectParticleEffect> type)
      Mappings:
      Namespace Name Mixin selector
      named createCodec Lnet/minecraft/particle/EntityEffectParticleEffect;createCodec(Lnet/minecraft/particle/ParticleType;)Lcom/mojang/serialization/MapCodec;
      intermediary method_58254 Lnet/minecraft/class_9381;method_58254(Lnet/minecraft/class_2396;)Lcom/mojang/serialization/MapCodec;
      official a Llb;a(Llh;)Lcom/mojang/serialization/MapCodec;
    • createPacketCodec

      public static PacketCodec<? super ByteBuf,EntityEffectParticleEffect> createPacketCodec(ParticleType<EntityEffectParticleEffect> type)
      Mappings:
      Namespace Name Mixin selector
      named createPacketCodec Lnet/minecraft/particle/EntityEffectParticleEffect;createPacketCodec(Lnet/minecraft/particle/ParticleType;)Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_58261 Lnet/minecraft/class_9381;method_58261(Lnet/minecraft/class_2396;)Lnet/minecraft/class_9139;
      official b Llb;b(Llh;)Lzn;
    • getType

      Specified by:
      getType in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;
      intermediary method_10295 Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;
      official a Llg;a()Llh;
    • getRed

      public float getRed()
      Mappings:
      Namespace Name Mixin selector
      named getRed Lnet/minecraft/particle/EntityEffectParticleEffect;getRed()F
      intermediary method_58259 Lnet/minecraft/class_9381;method_58259()F
      official b Llb;b()F
    • getGreen

      public float getGreen()
      Mappings:
      Namespace Name Mixin selector
      named getGreen Lnet/minecraft/particle/EntityEffectParticleEffect;getGreen()F
      intermediary method_58263 Lnet/minecraft/class_9381;method_58263()F
      official c Llb;c()F
    • getBlue

      public float getBlue()
      Mappings:
      Namespace Name Mixin selector
      named getBlue Lnet/minecraft/particle/EntityEffectParticleEffect;getBlue()F
      intermediary method_58264 Lnet/minecraft/class_9381;method_58264()F
      official d Llb;d()F
    • getAlpha

      public float getAlpha()
      Mappings:
      Namespace Name Mixin selector
      named getAlpha Lnet/minecraft/particle/EntityEffectParticleEffect;getAlpha()F
      intermediary method_58265 Lnet/minecraft/class_9381;method_58265()F
      official e Llb;e()F
    • create

      public static EntityEffectParticleEffect create(ParticleType<EntityEffectParticleEffect> type, int color)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/particle/EntityEffectParticleEffect;create(Lnet/minecraft/particle/ParticleType;I)Lnet/minecraft/particle/EntityEffectParticleEffect;
      intermediary method_58256 Lnet/minecraft/class_9381;method_58256(Lnet/minecraft/class_2396;I)Lnet/minecraft/class_9381;
      official a Llb;a(Llh;I)Llb;
    • create

      public static EntityEffectParticleEffect create(ParticleType<EntityEffectParticleEffect> type, float r, float g, float b)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/particle/EntityEffectParticleEffect;create(Lnet/minecraft/particle/ParticleType;FFF)Lnet/minecraft/particle/EntityEffectParticleEffect;
      intermediary method_58255 Lnet/minecraft/class_9381;method_58255(Lnet/minecraft/class_2396;FFF)Lnet/minecraft/class_9381;
      official a Llb;a(Llh;FFF)Llb;