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

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