chunkedge_protocol/packets/play/
teleport_to_entity_c2s.rs

1use chunkedge_binary::{Decode, Encode};
2use uuid::Uuid;
3
4use crate::Packet;
5//Teleports the player to the given entity. The player must be in spectator
6// mode.
7#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
8pub struct TeleportToEntityC2s {
9    pub target: Uuid,
10}