aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-27 23:48:53 -0500
committermat <github@matdoes.dev>2022-04-27 23:48:53 -0500
commita4c63c7bb4e4540bc47b3fd91ff08908de139494 (patch)
tree7cd7fa6baad2ba969c30a5cf0d4912f5f5109055 /azalea-protocol/src/packets/game/clientbound_light_update_packet.rs
parentc2a9acc7561927d4c76c8de29915935af95048fd (diff)
downloadazalea-drasl-a4c63c7bb4e4540bc47b3fd91ff08908de139494.tar.xz
create the necessary structs
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_light_update_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_light_update_packet.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs b/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs
new file mode 100644
index 00000000..43d530e0
--- /dev/null
+++ b/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs
@@ -0,0 +1,11 @@
+use azalea_core::{game_type::GameType, resource_location::ResourceLocation};
+use packet_macros::GamePacket;
+
+#[derive(Clone, Debug, GamePacket)]
+pub struct ClientboundLightUpdatePacket {
+ pub x: i32,
+ pub z: i32,
+ pub light_data: ClientboundLightUpdatePacketData,
+}
+
+pub struct ClientboundLightUpdatePacketData {}