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 afu
  • 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 Lafu;a:Lys;
    • 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 Lafu;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 Lafu;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 Lafu;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 Lafu;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 Lafu;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 Lafu;g:Ljj;
    • 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 Lafu;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 Lafu;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 Lafu;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> Lafu;<init>(ILbrp;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> Lafu;<init>(Lwf;)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 Lafu;a(Lwf;)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 Lzb;a()Lzd;
    • 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 Lafu;a(Labn;)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 Lafu;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 Lafu;e()Ljj;
    • 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 Lafu;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 Lafu;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 Lafu;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 Lafu;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 Lafu;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 Lafu;k()Z