Class EntityStatusEffectS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.EntityStatusEffectS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class EntityStatusEffectS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket
intermediary net/minecraft/class_2783
official ahf
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48011 Lnet/minecraft/class_2783;field_48011:Lnet/minecraft/class_9139;
      official a Lahf;a:Lzt;
    • AMBIENT_MASK

      private static final int AMBIENT_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named AMBIENT_MASK Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;AMBIENT_MASK:I
      intermediary field_33356 Lnet/minecraft/class_2783;field_33356:I
      official b Lahf;b:I
    • SHOW_PARTICLES_MASK

      private static final int SHOW_PARTICLES_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SHOW_PARTICLES_MASK Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;SHOW_PARTICLES_MASK:I
      intermediary field_33357 Lnet/minecraft/class_2783;field_33357:I
      official c Lahf;c:I
    • SHOW_ICON_MASK

      private static final int SHOW_ICON_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SHOW_ICON_MASK Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;SHOW_ICON_MASK:I
      intermediary field_33358 Lnet/minecraft/class_2783;field_33358:I
      official d Lahf;d:I
    • KEEP_FADING_MASK

      private static final int KEEP_FADING_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named KEEP_FADING_MASK Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;KEEP_FADING_MASK:I
      intermediary field_47706 Lnet/minecraft/class_2783;field_47706:I
      official e Lahf;e:I
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;entityId:I
      intermediary field_12727 Lnet/minecraft/class_2783;field_12727:I
      official f Lahf;f:I
    • effectId

      private final RegistryEntry<StatusEffect> effectId
      Mappings:
      Namespace Name Mixin selector
      named effectId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;effectId:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_12725 Lnet/minecraft/class_2783;field_12725:Lnet/minecraft/class_6880;
      official g Lahf;g:Ljq;
    • amplifier

      private final int amplifier
      Mappings:
      Namespace Name Mixin selector
      named amplifier Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;amplifier:I
      intermediary field_12729 Lnet/minecraft/class_2783;field_12729:I
      official h Lahf;h:I
    • duration

      private final int duration
      Mappings:
      Namespace Name Mixin selector
      named duration Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;duration:I
      intermediary field_12726 Lnet/minecraft/class_2783;field_12726:I
      official i Lahf;i:I
    • flags

      private final byte flags
      Mappings:
      Namespace Name Mixin selector
      named flags Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;flags:B
      intermediary field_12728 Lnet/minecraft/class_2783;field_12728:B
      official j Lahf;j:B
  • Constructor Details

    • EntityStatusEffectS2CPacket

      public EntityStatusEffectS2CPacket(int entityId, StatusEffectInstance effect, boolean keepFading)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;<init>(ILnet/minecraft/entity/effect/StatusEffectInstance;Z)V
      intermediary <init> Lnet/minecraft/class_2783;<init>(ILnet/minecraft/class_1293;Z)V
      official <init> Lahf;<init>(ILbuo;Z)V
    • EntityStatusEffectS2CPacket

      private EntityStatusEffectS2CPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2783;<init>(Lnet/minecraft/class_9129;)V
      official <init> Lahf;<init>(Lxg;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary method_55954 Lnet/minecraft/class_2783;method_55954(Lnet/minecraft/class_9129;)V
      official a Lahf;a(Lxg;)V
    • getPacketId

      public PacketType<EntityStatusEffectS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Laac;a()Laae;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11948 Lnet/minecraft/class_2783;method_11948(Lnet/minecraft/class_2602;)V
      official a Lahf;a(Lacr;)V
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      named getEntityId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getEntityId()I
      intermediary method_11943 Lnet/minecraft/class_2783;method_11943()I
      official b Lahf;b()I
    • getEffectId

      public RegistryEntry<StatusEffect> getEffectId()
      Mappings:
      Namespace Name Mixin selector
      named getEffectId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getEffectId()Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_11946 Lnet/minecraft/class_2783;method_11946()Lnet/minecraft/class_6880;
      official e Lahf;e()Ljq;
    • getAmplifier

      public int getAmplifier()
      Mappings:
      Namespace Name Mixin selector
      named getAmplifier Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getAmplifier()I
      intermediary method_11945 Lnet/minecraft/class_2783;method_11945()I
      official f Lahf;f()I
    • getDuration

      public int getDuration()
      Mappings:
      Namespace Name Mixin selector
      named getDuration Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getDuration()I
      intermediary method_11944 Lnet/minecraft/class_2783;method_11944()I
      official g Lahf;g()I
    • shouldShowParticles

      public boolean shouldShowParticles()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowParticles Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;shouldShowParticles()Z
      intermediary method_11949 Lnet/minecraft/class_2783;method_11949()Z
      official h Lahf;h()Z
    • isAmbient

      public boolean isAmbient()
      Mappings:
      Namespace Name Mixin selector
      named isAmbient Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;isAmbient()Z
      intermediary method_11950 Lnet/minecraft/class_2783;method_11950()Z
      official i Lahf;i()Z
    • shouldShowIcon

      public boolean shouldShowIcon()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowIcon Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;shouldShowIcon()Z
      intermediary method_11942 Lnet/minecraft/class_2783;method_11942()Z
      official j Lahf;j()Z
    • keepFading

      public boolean keepFading()
      Mappings:
      Namespace Name Mixin selector
      named keepFading Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;keepFading()Z
      intermediary method_55629 Lnet/minecraft/class_2783;method_55629()Z
      official k Lahf;k()Z