azalea_protocol/packets/game/c_block_entity_data.rs
1use azalea_buf::AzBuf;
2use azalea_core::position::BlockPos;
3use azalea_protocol_macros::ClientboundGamePacket;
4use azalea_registry::builtin::BlockEntityKind;
5use simdnbt::owned::Nbt;
6
7#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
8pub struct ClientboundBlockEntityData {
9 pub pos: BlockPos,
10 pub block_entity_type: BlockEntityKind,
11 pub tag: Nbt,
12}