mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
14 lines
388 B
Rust
14 lines
388 B
Rust
use azalea_buf::McBuf;
|
|
use azalea_core::PositionDelta8;
|
|
use packet_macros::GamePacket;
|
|
|
|
/// This packet is sent by the server when an entity moves less then 8 blocks.
|
|
#[derive(Clone, Debug, McBuf, GamePacket)]
|
|
pub struct ClientboundMoveEntityPosRotPacket {
|
|
#[var]
|
|
pub entity_id: u32,
|
|
pub delta: PositionDelta8,
|
|
pub y_rot: i8,
|
|
pub x_rot: i8,
|
|
pub on_ground: bool,
|
|
}
|