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
official wq
intermediary net/minecraft/class_2783
named net/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket
  • Field Details

    • field_39448

      private static final short field_39448
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lwq;a:S
      intermediary field_39448 Lnet/minecraft/class_2783;field_39448:S
      named field_39448 Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;field_39448:S
    • AMBIENT_MASK

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

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

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

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

      private final StatusEffect effectId
      Mappings:
      Namespace Name Mixin selector
      official f Lwq;f:Lbah;
      intermediary field_12725 Lnet/minecraft/class_2783;field_12725:Lnet/minecraft/class_1291;
      named effectId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;effectId:Lnet/minecraft/entity/effect/StatusEffect;
    • amplifier

      private final byte amplifier
      Mappings:
      Namespace Name Mixin selector
      official g Lwq;g:B
      intermediary field_12729 Lnet/minecraft/class_2783;field_12729:B
      named amplifier Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;amplifier:B
    • duration

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

      private final byte flags
      Mappings:
      Namespace Name Mixin selector
      official i Lwq;i:B
      intermediary field_12728 Lnet/minecraft/class_2783;field_12728:B
      named flags Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;flags:B
    • factorCalculationData

      @Nullable private final StatusEffectInstance.FactorCalculationData factorCalculationData
      Mappings:
      Namespace Name Mixin selector
      official j Lwq;j:Lbaj$a;
      intermediary field_38364 Lnet/minecraft/class_2783;field_38364:Lnet/minecraft/class_1293$class_7247;
      named factorCalculationData Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;factorCalculationData:Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;
  • Constructor Details

    • EntityStatusEffectS2CPacket

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

      public EntityStatusEffectS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwq;<init>(Lqx;)V
      intermediary <init> Lnet/minecraft/class_2783;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lso;a(Lqx;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • isPermanent

      public boolean isPermanent()
      Mappings:
      Namespace Name Mixin selector
      official b Lwq;b()Z
      intermediary method_11947 Lnet/minecraft/class_2783;method_11947()Z
      named isPermanent Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;isPermanent()Z
    • apply

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

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

      public StatusEffect getEffectId()
      Mappings:
      Namespace Name Mixin selector
      official d Lwq;d()Lbah;
      intermediary method_11946 Lnet/minecraft/class_2783;method_11946()Lnet/minecraft/class_1291;
      named getEffectId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getEffectId()Lnet/minecraft/entity/effect/StatusEffect;
    • getAmplifier

      public byte getAmplifier()
      Mappings:
      Namespace Name Mixin selector
      official e Lwq;e()B
      intermediary method_11945 Lnet/minecraft/class_2783;method_11945()B
      named getAmplifier Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getAmplifier()B
    • getDuration

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

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

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

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

      @Nullable public StatusEffectInstance.FactorCalculationData getFactorCalculationData()
      Mappings:
      Namespace Name Mixin selector
      official j Lwq;j()Lbaj$a;
      intermediary method_42625 Lnet/minecraft/class_2783;method_42625()Lnet/minecraft/class_1293$class_7247;
      named getFactorCalculationData Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getFactorCalculationData()Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;