aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-07 20:00:59 -0500
committermat <github@matdoes.dev>2022-05-07 20:00:59 -0500
commitd8049a5d0c9a2c79d576785dc1681ae60e44a04b (patch)
tree585e7a3bd0c8535c7cf3e9f2999c132878961b53 /azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs
parente53ef8b0ddd46b3a85e597e7da57139960304e35 (diff)
downloadazalea-drasl-d8049a5d0c9a2c79d576785dc1681ae60e44a04b.tar.xz
move entity and rotate head packets
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_move_entity_packet.rs11
1 files changed, 11 insertions, 0 deletions
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,
+}