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 adw
  • 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 Ladw;a:Lyx;
    • 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 Ladw;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> Ladw;<init>(Lbrh;)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> Ladw;<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> Ladw;<init>(Lvw;)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 Ladw;a(Lvw;)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 Lzg;a()Lzi;
    • 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 Ladw;a(Labu;)V