Add s_player_action packet
Note: this packet is currently only parsed, not handled.
This commit is contained in:
1 parent
cce0161e3d
commit
b38e6af2f3
4 files changed
+22
-4
No files matched your search
@@ -0,0 +1,12 @@
|
||||
use pumpkin_macros::packet;
|
||||
|
||||
use crate::{position::WorldPosition, VarInt};
|
||||
|
||||
#[derive(serde::Deserialize)]
|
||||
#[packet(0x24)]
|
||||
pub struct SPlayerAction {
|
||||
status: VarInt,
|
||||
location: WorldPosition,
|
||||
face: u8,
|
||||
sequence: VarInt,
|
||||
}
|
||||
Reference in new issue
Block a user