Class ClientboundPlayerCombatKillPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerCombatKillPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundPlayerCombatKillPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundPlayerCombatKillPacket
(int p_289572_, Component p_289546_) ClientboundPlayerCombatKillPacket
(FriendlyByteBuf p_179069_) -
Method Summary
Modifier and TypeMethodDescriptionint
void
handle
(ClientGamePacketListener p_179076_) boolean
void
write
(FriendlyByteBuf p_179072_) 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
nextProtocol
-
Field Details
-
playerId
private final int playerId -
message
-
-
Constructor Details
-
ClientboundPlayerCombatKillPacket
-
ClientboundPlayerCombatKillPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
isSkippable
public boolean isSkippable()- Specified by:
isSkippable
in interfacePacket<ClientGamePacketListener>
-
getPlayerId
public int getPlayerId() -
getMessage
-