aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_entity_event.rs
blob: cde6fd6c625c6486c97521220d3215d7f2fb246d (plain)
1
2
3
4
5
6
7
8
9
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;
use azalea_world::MinecraftEntityId;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundEntityEvent {
    pub entity_id: MinecraftEntityId,
    pub event_id: u8,
}