Added Player inventory (WIP)
This commit is contained in:
1 parent
d6fb4ed121
commit
391d5cbcfc
13 files changed
+79
-10
No files matched your search
@@ -1,25 +1,27 @@
|
||||
mod c_client_information;
|
||||
mod c_interact;
|
||||
mod s_chat_command;
|
||||
mod s_chat_message;
|
||||
mod s_client_information;
|
||||
mod s_confirm_teleport;
|
||||
mod s_interact;
|
||||
mod s_player_action;
|
||||
mod s_player_command;
|
||||
mod s_player_position;
|
||||
mod s_player_position_rotation;
|
||||
mod s_player_rotation;
|
||||
mod s_set_held_item;
|
||||
mod s_swing_arm;
|
||||
mod s_use_item_on;
|
||||
|
||||
pub use c_client_information::*;
|
||||
pub use c_interact::*;
|
||||
pub use s_chat_command::*;
|
||||
pub use s_chat_message::*;
|
||||
pub use s_client_information::*;
|
||||
pub use s_confirm_teleport::*;
|
||||
pub use s_interact::*;
|
||||
pub use s_player_action::*;
|
||||
pub use s_player_command::*;
|
||||
pub use s_player_position::*;
|
||||
pub use s_player_position_rotation::*;
|
||||
pub use s_player_rotation::*;
|
||||
pub use s_set_held_item::*;
|
||||
pub use s_swing_arm::*;
|
||||
pub use s_use_item_on::*;
|
||||
File renamed without changes.
-1
@@ -1,5 +1,4 @@
|
||||
use pumpkin_macros::packet;
|
||||
use serde::Deserialize;
|
||||
|
||||
use crate::{ServerPacket, VarInt};
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
use pumpkin_macros::packet;
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[packet(0x2F)]
|
||||
pub struct SSetHeldItem {
|
||||
pub slot: i16,
|
||||
}
|
||||
Reference in new issue
Block a user