aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_level_event_packet.rs
blob: 7092626858d415f50d2792f9efaf0fa4eb7d8c21 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_core::BlockPos;
use packet_macros::{GamePacket, McBuf};

#[derive(Clone, Debug, McBuf, GamePacket)]
pub struct ClientboundLevelEventPacket {
    pub type_: i32,
    pub pos: BlockPos,
    pub data: i32,
    pub global_event: bool,
}