aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_container_slot_state_changed.rs
blob: c5721d1856c89f376bc1ce85f08874d7230347cf (plain)
1
2
3
4
5
6
7
8
9
10
11
use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundGamePacket;

#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
pub struct ServerboundContainerSlotStateChanged {
    #[var]
    pub slot_id: u32,
    #[var]
    pub container_id: i32,
    pub new_state: bool,
}