Class EnterCombatS2CPacket

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

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

    • INSTANCE

      public static final EnterCombatS2CPacket INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/network/packet/s2c/play/EnterCombatS2CPacket;INSTANCE:Lnet/minecraft/network/packet/s2c/play/EnterCombatS2CPacket;
      intermediary field_47951 Lnet/minecraft/class_5891;field_47951:Lnet/minecraft/class_5891;
      official a Ladw;a:Ladw;
    • CODEC

      public static final PacketCodec<ByteBuf,EnterCombatS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EnterCombatS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47952 Lnet/minecraft/class_5891;field_47952:Lnet/minecraft/class_9139;
      official b Ladw;b:Lyw;
  • Constructor Details

    • EnterCombatS2CPacket

      private EnterCombatS2CPacket()
  • Method Details

    • getPacketId

      public PacketType<EnterCombatS2CPacket> 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 Lzf;a()Lzh;
    • 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/EnterCombatS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_34142 Lnet/minecraft/class_5891;method_34142(Lnet/minecraft/class_2602;)V
      official a Ladw;a(Labt;)V