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

    • entityId

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

      private byte effectId
      Mappings:
      Namespace Name Mixin selector
      official b Lsn;b:B
      intermediary field_12725 Lnet/minecraft/class_2783;field_12725:B
      named effectId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;effectId:B
    • amplifier

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

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

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

    • EntityStatusEffectS2CPacket

      public EntityStatusEffectS2CPacket()
    • EntityStatusEffectS2CPacket

      public EntityStatusEffectS2CPacket​(int entityId, StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsn;<init>(ILaqp;)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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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

      @Environment(CLIENT) public boolean isPermanent()
      Mappings:
      Namespace Name Mixin selector
      official b Lsn;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 Lsn;a(Lpd;)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

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

      @Environment(CLIENT) public byte getEffectId()
      Mappings:
      Namespace Name Mixin selector
      official d Lsn;d()B
      intermediary method_11946 Lnet/minecraft/class_2783;method_11946()B
      named getEffectId Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getEffectId()B
    • getAmplifier

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

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

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

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

      @Environment(CLIENT) public boolean shouldShowIcon()
      Mappings:
      Namespace Name Mixin selector
      official i Lsn;i()Z
      intermediary method_11942 Lnet/minecraft/class_2783;method_11942()Z
      named shouldShowIcon Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;shouldShowIcon()Z