aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/packet/game/mod.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-07-24 03:54:33 -0330
committermat <git@matdoes.dev>2025-07-24 03:54:33 -0330
commit45f89b48e425262974a993adc0774dcbcad397fa (patch)
treec6326c08671101d16f8b1e539c0fd7011fe62b23 /azalea-client/src/plugins/packet/game/mod.rs
parent6984a2b9e6fda83c4d0a8b526b82fd62b6770993 (diff)
downloadazalea-drasl-45f89b48e425262974a993adc0774dcbcad397fa.tar.xz
1.21.8
Diffstat (limited to 'azalea-client/src/plugins/packet/game/mod.rs')
-rw-r--r--azalea-client/src/plugins/packet/game/mod.rs18
1 files changed, 16 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/packet/game/mod.rs b/azalea-client/src/plugins/packet/game/mod.rs
index b7886208..1fa3e109 100644
--- a/azalea-client/src/plugins/packet/game/mod.rs
+++ b/azalea-client/src/plugins/packet/game/mod.rs
@@ -22,9 +22,23 @@ pub use events::*;
use tracing::{debug, error, trace, warn};
use crate::{
- block_update::QueuedServerBlockUpdates, chat::{ChatPacket, ChatReceivedEvent}, chunks, connection::RawConnection, declare_packet_handlers, disconnect::DisconnectEvent, interact::BlockStatePredictionHandler, inventory::{
+ ClientInformation,
+ block_update::QueuedServerBlockUpdates,
+ chat::{ChatPacket, ChatReceivedEvent},
+ chunks,
+ connection::RawConnection,
+ declare_packet_handlers,
+ disconnect::DisconnectEvent,
+ interact::BlockStatePredictionHandler,
+ inventory::{
ClientSideCloseContainerEvent, Inventory, MenuOpenedEvent, SetContainerContentEvent,
- }, loading::HasClientLoaded, local_player::{Hunger, InstanceHolder, LocalGameMode, PlayerAbilities, TabList}, movement::{KnockbackEvent, KnockbackType}, packet::as_system, player::{GameProfileComponent, PlayerInfo}, tick_counter::TicksConnected, ClientInformation
+ },
+ loading::HasClientLoaded,
+ local_player::{Hunger, InstanceHolder, LocalGameMode, PlayerAbilities, TabList},
+ movement::{KnockbackEvent, KnockbackType},
+ packet::as_system,
+ player::{GameProfileComponent, PlayerInfo},
+ tick_counter::TicksConnected,
};
pub fn process_packet(ecs: &mut World, player: Entity, packet: &ClientboundGamePacket) {