aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_block_update.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_block_update.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_block_update.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_block_update.rs b/azalea-protocol/src/packets/game/c_block_update.rs
new file mode 100755
index 00000000..ae9bd998
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_block_update.rs
@@ -0,0 +1,10 @@
+use azalea_block::BlockState;
+use azalea_buf::AzBuf;
+use azalea_core::position::BlockPos;
+use azalea_protocol_macros::ClientboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
+pub struct ClientboundBlockUpdate {
+ pub pos: BlockPos,
+ pub block_state: BlockState,
+}