aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_block_entity_data.rs
blob: 82ba60de2205a7c5129ed37b3659ec8cdbb170a3 (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;
use simdnbt::owned::Nbt;

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