diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/c_level_event.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/c_level_event.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_level_event.rs b/azalea-protocol/src/packets/game/c_level_event.rs new file mode 100755 index 00000000..f41a1f42 --- /dev/null +++ b/azalea-protocol/src/packets/game/c_level_event.rs @@ -0,0 +1,11 @@ +use azalea_buf::AzBuf; +use azalea_core::position::BlockPos; +use azalea_protocol_macros::ClientboundGamePacket; + +#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] +pub struct ClientboundLevelEvent { + pub event_type: u32, + pub pos: BlockPos, + pub data: u32, + pub global_event: bool, +} |
