mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
14 lines
424 B
Rust
14 lines
424 B
Rust
use azalea_buf::AzBuf;
|
|
use azalea_protocol_macros::ClientboundGamePacket;
|
|
use azalea_world::MinecraftEntityId;
|
|
|
|
use crate::common::movements::{PositionMoveRotation, RelativeMovements};
|
|
|
|
#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
|
|
pub struct ClientboundTeleportEntity {
|
|
#[var]
|
|
pub id: MinecraftEntityId,
|
|
pub change: PositionMoveRotation,
|
|
pub relatives: RelativeMovements,
|
|
pub on_ground: bool,
|
|
}
|