Class RemoveEntityStatusEffectS2CPacket

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

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

    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lxd;a:I
      intermediary field_12424 Lnet/minecraft/class_2718;field_12424:I
      named entityId Lnet/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket;entityId:I
    • effectType

      private final StatusEffect effectType
      Mappings:
      Namespace Name Mixin selector
      official b Lxd;b:Lbes;
      intermediary field_12425 Lnet/minecraft/class_2718;field_12425:Lnet/minecraft/class_1291;
      named effectType Lnet/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket;effectType:Lnet/minecraft/entity/effect/StatusEffect;
  • Constructor Details

    • RemoveEntityStatusEffectS2CPacket

      public RemoveEntityStatusEffectS2CPacket(int entityId, StatusEffect effectType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxd;<init>(ILbes;)V
      intermediary <init> Lnet/minecraft/class_2718;<init>(ILnet/minecraft/class_1291;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket;<init>(ILnet/minecraft/entity/effect/StatusEffect;)V
    • RemoveEntityStatusEffectS2CPacket

      public RemoveEntityStatusEffectS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxd;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_2718;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket;<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 Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxd;a(Lur;)V
      intermediary method_11769 Lnet/minecraft/class_2718;method_11769(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getEntity

      @Nullable public @Nullable Entity getEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lxd;a(Lcmf;)Lbfd;
      intermediary method_11767 Lnet/minecraft/class_2718;method_11767(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
      named getEntity Lnet/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
    • getEffectType

      @Nullable public @Nullable StatusEffect getEffectType()
      Mappings:
      Namespace Name Mixin selector
      official a Lxd;a()Lbes;
      intermediary method_11768 Lnet/minecraft/class_2718;method_11768()Lnet/minecraft/class_1291;
      named getEffectType Lnet/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket;getEffectType()Lnet/minecraft/entity/effect/StatusEffect;