Class EndCombatS2CPacket

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

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

    • CODEC

      public static final PacketCodec<PacketByteBuf,EndCombatS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47950 Lnet/minecraft/class_5890;field_47950:Lnet/minecraft/class_9139;
      official a Laek;a:Lzn;
    • timeSinceLastAttack

      private final int timeSinceLastAttack
      Mappings:
      Namespace Name Mixin selector
      named timeSinceLastAttack Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;timeSinceLastAttack:I
      intermediary field_29132 Lnet/minecraft/class_5890;field_29132:I
      official b Laek;b:I
  • Constructor Details

    • EndCombatS2CPacket

      public EndCombatS2CPacket(DamageTracker damageTracker)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;<init>(Lnet/minecraft/entity/damage/DamageTracker;)V
      intermediary <init> Lnet/minecraft/class_5890;<init>(Lnet/minecraft/class_1283;)V
      official <init> Laek;<init>(Lbrm;)V
    • EndCombatS2CPacket

      public EndCombatS2CPacket(int timeSinceLastAttack)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;<init>(I)V
      intermediary <init> Lnet/minecraft/class_5890;<init>(I)V
      official <init> Laek;<init>(I)V
    • EndCombatS2CPacket

      private EndCombatS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_5890;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laek;<init>(Lwm;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55899 Lnet/minecraft/class_5890;method_55899(Lnet/minecraft/class_2540;)V
      official a Laek;a(Lwm;)V
    • getPacketId

      public PacketType<EndCombatS2CPacket> 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 Lzw;a()Lzy;
    • 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/EndCombatS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_34141 Lnet/minecraft/class_5890;method_34141(Lnet/minecraft/class_2602;)V
      official a Laek;a(Laci;)V