aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_block_entity_data.rs
blob: 7e3787c93503811ae600884ea9280c5a05845a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use azalea_buf::AzBuf;
use azalea_core::position::BlockPos;
use azalea_protocol_macros::ClientboundGamePacket;
use azalea_registry::builtin::BlockEntityKind;
use simdnbt::owned::Nbt;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundBlockEntityData {
    pub pos: BlockPos,
    pub block_entity_type: BlockEntityKind,
    pub tag: Nbt,
}