Class ClientboundPlayerCombatEndPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerCombatEndPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundPlayerCombatEndPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundPlayerCombatEndPacket(int p_179037_, int p_179038_)
ClientboundPlayerCombatEndPacket(FriendlyByteBuf p_179042_)
ClientboundPlayerCombatEndPacket(CombatTracker p_179040_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle(ClientGamePacketListener p_179048_)
void
write(FriendlyByteBuf p_179044_)
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.protocol.Packet
isSkippable
-
Field Details
-
killerId
private final int killerId -
duration
private final int duration
-
-
Constructor Details
-
ClientboundPlayerCombatEndPacket
-
ClientboundPlayerCombatEndPacket
public ClientboundPlayerCombatEndPacket(int p_179037_, int p_179038_) -
ClientboundPlayerCombatEndPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-