diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 0a8c1eaf..840d373d 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -737,6 +737,8 @@ impl Client { /// The player's instance (aka world) will be locked during this time, which /// may result in a deadlock if you try to access the instance again while /// in the function. + /// + /// [`RegistryHolder`]: azalea_core::registry_holder::RegistryHolder pub fn with_registry_holder( &self, f: impl FnOnce(&azalea_core::registry_holder::RegistryHolder) -> R, diff --git a/azalea-client/src/plugins/chat/handler.rs b/azalea-client/src/plugins/chat/handler.rs index be99b667..31fbc00e 100644 --- a/azalea-client/src/plugins/chat/handler.rs +++ b/azalea-client/src/plugins/chat/handler.rs @@ -18,6 +18,8 @@ use crate::packet::game::SendPacketEvent; /// /// If you're wondering why this isn't two separate events, it's so ordering is /// preserved if multiple chat messages and commands are sent at the same time. +/// +/// [`SendChatEvent`]: super::SendChatEvent #[derive(Event)] pub struct SendChatKindEvent { pub entity: Entity, diff --git a/azalea-client/src/plugins/events.rs b/azalea-client/src/plugins/events.rs index 3d34d75f..0e30118a 100644 --- a/azalea-client/src/plugins/events.rs +++ b/azalea-client/src/plugins/events.rs @@ -229,6 +229,8 @@ pub fn death_listener(query: Query<&LocalPlayerEvents>, mut events: EventReader< } /// Send the "Death" event for [`LocalEntity`]s that died with no reason. +/// +/// [`LocalEntity`]: azalea_entity::LocalEntity pub fn dead_component_listener(query: Query<&LocalPlayerEvents, Added>) { for local_player_events in &query { local_player_events.send(Event::Death(None)).unwrap();