aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_open_screen_packet.rs
blob: 521975af439b8a6ae719439b4f6a06d56ad9dc9c (plain)
1
2
3
4
5
6
7
8
9
10
11
use azalea_buf::McBuf;
use azalea_chat::component::Component;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundOpenScreenPacket {
    #[var]
    pub container_id: u32,
    pub menu_type: azalea_registry::Menu,
    pub title: Component,
}