aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_player_combat_kill.rs
blob: 2d6fc3e7ed66734809448f3de9be33b683c81bd7 (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(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundPlayerCombatKill {
    #[var]
    pub player_id: MinecraftEntityId,
    pub message: FormattedText,
}