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
official wu
intermediary net/minecraft/class_5890
named net/minecraft/network/packet/s2c/play/EndCombatS2CPacket
  • Field Details

    • timeSinceLastAttack

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

    • EndCombatS2CPacket

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

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

      public EndCombatS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwu;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_5890;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;<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 Lwu;a(Lur;)V
      intermediary method_34141 Lnet/minecraft/class_5890;method_34141(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V