aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_set_time_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-07 12:22:57 -0500
committermat <github@matdoes.dev>2022-05-07 12:22:57 -0500
commitf0a277788c30392b630d4a8e8b09e9cd3e54c14f (patch)
tree7689dc322b5919be8cb1aa3e898ea2049ce67f4a /azalea-protocol/src/packets/game/clientbound_set_time_packet.rs
parentb9c31efc0161457771861e6858a4a4da0b6a2727 (diff)
downloadazalea-drasl-f0a277788c30392b630d4a8e8b09e9cd3e54c14f.tar.xz
add set time packet and update readme
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_set_time_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_set_time_packet.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_set_time_packet.rs b/azalea-protocol/src/packets/game/clientbound_set_time_packet.rs
new file mode 100644
index 00000000..02bf88d7
--- /dev/null
+++ b/azalea-protocol/src/packets/game/clientbound_set_time_packet.rs
@@ -0,0 +1,7 @@
+use packet_macros::GamePacket;
+
+#[derive(Clone, Debug, GamePacket)]
+pub struct ClientboundSetTimePacket {
+ pub game_time: u64,
+ pub day_time: u64,
+}