azalea_protocol/packets/game/s_accept_teleportation.rs
1use azalea_buf::AzBuf;
2use azalea_core::position::Vec3;
3use azalea_entity::LookDirection;
4use azalea_protocol_macros::ServerboundGamePacket;
5
6#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
7pub struct ServerboundAcceptTeleportation {
8 #[var]
9 pub id: u32,
10 pub position: Vec3,
11 pub direction: LookDirection,
12}