aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_open_screen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_open_screen.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_open_screen.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_open_screen.rs b/azalea-protocol/src/packets/game/c_open_screen.rs
new file mode 100755
index 00000000..4ba71725
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_open_screen.rs
@@ -0,0 +1,11 @@
+use azalea_buf::AzBuf;
+use azalea_chat::FormattedText;
+use azalea_protocol_macros::ClientboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
+pub struct ClientboundOpenScreen {
+ #[var]
+ pub container_id: u32,
+ pub menu_type: azalea_registry::MenuKind,
+ pub title: FormattedText,
+}