add packet SClickContainer
This commit is contained in:
parent
3428f03a0f
commit
507b521340
@ -1,5 +1,6 @@
|
||||
mod s_chat_command;
|
||||
mod s_chat_message;
|
||||
mod s_click_container;
|
||||
mod s_client_information;
|
||||
mod s_close_container;
|
||||
mod s_confirm_teleport;
|
||||
|
||||
17
pumpkin-protocol/src/server/play/s_click_container.rs
Normal file
17
pumpkin-protocol/src/server/play/s_click_container.rs
Normal file
@ -0,0 +1,17 @@
|
||||
use crate::slot::Slot;
|
||||
use crate::VarInt;
|
||||
use pumpkin_macros::packet;
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[packet(0x0E)]
|
||||
pub struct SClickContainer {
|
||||
window_id: u8,
|
||||
state_id: VarInt,
|
||||
slot: Slot,
|
||||
button: i8,
|
||||
mode: VarInt,
|
||||
length_of_array: VarInt,
|
||||
array_of_changed_slots: Vec<(i16, Slot)>,
|
||||
carried_item: Slot,
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user