aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_player_combat_kill.rs
blob: 3d2f7d7b3a4f915344659153f644af0eb7517d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use azalea_buf::AzBuf;
use azalea_chat::FormattedText;
use azalea_protocol_macros::ClientboundGamePacket;
use azalea_world::MinecraftEntityId;

/// Used to send a respawn screen.
#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundPlayerCombatKill {
    #[var]
    pub player_id: MinecraftEntityId,
    pub message: FormattedText,
}