aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_attack.rs
blob: 96040f7ca14a5969d58c79d21f8ce85c26d70d67 (plain)
1
2
3
4
5
6
7
8
9
use azalea_buf::AzBuf;
use azalea_core::entity_id::MinecraftEntityId;
use azalea_protocol_macros::ServerboundGamePacket;

#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundGamePacket)]
pub struct ServerboundAttack {
    #[var]
    pub entity_id: MinecraftEntityId,
}