aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_block_entity_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_block_entity_data.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_block_entity_data.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_block_entity_data.rs b/azalea-protocol/src/packets/game/c_block_entity_data.rs
new file mode 100755
index 00000000..82ba60de
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_block_entity_data.rs
@@ -0,0 +1,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,
+}