aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_container_set_content.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_container_set_content.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_container_set_content.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_container_set_content.rs b/azalea-protocol/src/packets/game/c_container_set_content.rs
new file mode 100755
index 00000000..852ce60f
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_container_set_content.rs
@@ -0,0 +1,12 @@
+use azalea_buf::AzBuf;
+use azalea_inventory::ItemStack;
+use azalea_protocol_macros::ClientboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
+pub struct ClientboundContainerSetContent {
+ pub container_id: i8,
+ #[var]
+ pub state_id: u32,
+ pub items: Vec<ItemStack>,
+ pub carried_item: ItemStack,
+}