Class EndCombatS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EndCombatS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official so
intermediary net/minecraft/class_5890
named net/minecraft/network/packet/s2c/play/EndCombatS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
-
Constructor Summary
ConstructorDescriptionEndCombatS2CPacket
(int attackerId, 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
isWritingErrorSkippable
-
Field Details
-
attackerId
private final int attackerId- Mappings:
Namespace Name Mixin selector official a
Lso;a:I
intermediary field_29131
Lnet/minecraft/class_5890;field_29131:I
named attackerId
Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;attackerId:I
-
timeSinceLastAttack
private final int timeSinceLastAttack- Mappings:
Namespace Name Mixin selector official b
Lso;b: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>
Lso;<init>(Lavv;)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 attackerId, int timeSinceLastAttack) - Mappings:
Namespace Name Mixin selector official <init>
Lso;<init>(II)V
intermediary <init>
Lnet/minecraft/class_5890;<init>(II)V
named <init>
Lnet/minecraft/network/packet/s2c/play/EndCombatS2CPacket;<init>(II)V
-
EndCombatS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lso;<init>(Lph;)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
Lql;a(Lph;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lso;a(Lqo;)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
-