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 rf
intermediary net/minecraft/class_2718
named net/minecraft/network/packet/s2c/play/RemoveEntityStatusEffectS2CPacket
  • Field Details

    • entityId

      private int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lrf;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 StatusEffect effectType
      Mappings:
      Namespace Name Mixin selector
      official b Lrf;b:Laqn;
      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()
    • RemoveEntityStatusEffectS2CPacket

      public RemoveEntityStatusEffectS2CPacket​(int entityId, StatusEffect effectType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrf;<init>(ILaqn;)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
  • 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
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lrf;a(Lpd;)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

      @Environment(CLIENT) @Nullable public Entity getEntity​(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lrf;a(Lbtv;)Laqv;
      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

      @Environment(CLIENT) @Nullable public StatusEffect getEffectType()
      Mappings:
      Namespace Name Mixin selector
      official b Lrf;b()Laqn;
      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;