From d8049a5d0c9a2c79d576785dc1681ae60e44a04b Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 7 May 2022 20:00:59 -0500 Subject: move entity and rotate head packets --- .../src/packets/game/clientbound_move_entity_packet.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs (limited to 'azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs') diff --git a/azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs b/azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs new file mode 100644 index 00000000..285a45a4 --- /dev/null +++ b/azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs @@ -0,0 +1,11 @@ +use packet_macros::GamePacket; + +#[derive(Clone, Debug, GamePacket)] +pub struct ClientboundMoveEntityPacket { + #[var] + pub entity_id: u32, + pub y_rot: i16, + pub x_rot: i16, + pub z_rot: i16, + pub on_ground: bool, +} -- cgit v1.2.3