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_179062_, int p_179063_, Component p_179064_)
ClientboundPlayerCombatKillPacket(FriendlyByteBuf p_179069_)
ClientboundPlayerCombatKillPacket(CombatTracker p_179066_, Component p_179067_)
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
handle(ClientGamePacketListener p_179076_)
boolean
void
write(FriendlyByteBuf p_179072_)
-
Field Details
-
playerId
private final int playerId -
killerId
private final int killerId -
message
-
-
Constructor Details
-
ClientboundPlayerCombatKillPacket
-
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>
-
getKillerId
public int getKillerId() -
getPlayerId
public int getPlayerId() -
getMessage
-