aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_level_event.rs
blob: 3173e4ebd540faec07fde68e9478b2ab1346d120 (plain)
1
2
3
4
5
6
7
8
9
10
11
use azalea_buf::AzBuf;
use azalea_core::position::BlockPos;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundLevelEvent {
    pub event_type: u32,
    pub pos: BlockPos,
    pub data: u32,
    pub global_event: bool,
}