aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
diff options
context:
space:
mode:
authorRaeders <38367311+nebula161@users.noreply.github.com>2026-01-23 23:04:54 -0500
committerGitHub <noreply@github.com>2026-01-23 22:04:54 -0600
commitd665924eb2163fc8afe256e502a39e72ad0e4a42 (patch)
tree5050630905b9802ef254e4352ac6d5c23116cacc /azalea-client/src/client.rs
parent4ab3609244d4eb87c3087f69f48083d9413a1cb3 (diff)
downloadazalea-drasl-d665924eb2163fc8afe256e502a39e72ad0e4a42.tar.xz
Implement SetExperience (#307)
Diffstat (limited to 'azalea-client/src/client.rs')
-rw-r--r--azalea-client/src/client.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 90b1264c..b9a4e824 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -29,12 +29,11 @@ use crate::{
connection::RawConnection,
cookies::ServerCookies,
interact::BlockStatePredictionHandler,
- local_player::{Hunger, PermissionLevel, TabList, WorldHolder},
+ local_player::{Experience, Hunger, PermissionLevel, TabList, WorldHolder},
mining,
movement::LastSentLookDirection,
player::retroactively_add_game_profile_component,
};
-
/// A bundle of components that's inserted right when we switch to the `login`
/// state and stay present on our clients until we disconnect.
///
@@ -67,6 +66,7 @@ pub struct JoinedClientBundle {
pub permission_level: PermissionLevel,
pub chunk_batch_info: ChunkBatchInfo,
pub hunger: Hunger,
+ pub experience: Experience,
pub cookies: ServerCookies,
pub entity_id_index: EntityIdIndex,