aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_block_entity_data.rs
blob: 0798e2bd4e604d5a52f479c21598ace58f349e80 (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(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
pub struct ClientboundBlockEntityData {
    pub pos: BlockPos,
    pub block_entity_type: BlockEntityKind,
    pub tag: Nbt,
}