Class EndCombatS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EndCombatS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official wu
intermediary net/minecraft/class_5890
named net/minecraft/network/packet/s2c/play/EndCombatS2CPacket
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEndCombatS2CPacket
(int timeSinceLastAttack) EndCombatS2CPacket
(DamageTracker damageTracker) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
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
- 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
- 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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
-