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