aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_add_entity.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-12 23:01:54 +0300
committermat <git@matdoes.dev>2025-10-12 23:01:54 +0300
commitee2575794e91b9457a74a95daf1dcc707058cd58 (patch)
treedf725850ef18ded5ce3f6552e17095d0f704ae84 /azalea-protocol/src/packets/game/c_add_entity.rs
parent1a1402954b07cd77615d0afc026c73b008787f51 (diff)
downloadazalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-protocol/src/packets/game/c_add_entity.rs')
-rw-r--r--azalea-protocol/src/packets/game/c_add_entity.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/c_add_entity.rs b/azalea-protocol/src/packets/game/c_add_entity.rs
index 7fb680a1..fe473289 100644
--- a/azalea-protocol/src/packets/game/c_add_entity.rs
+++ b/azalea-protocol/src/packets/game/c_add_entity.rs
@@ -30,8 +30,9 @@ pub struct ClientboundAddEntity {
}
impl ClientboundAddEntity {
- /// Make the entity into a bundle that can be inserted into the ECS. You
- /// must apply the metadata after inserting the bundle with
+ /// Make the entity into a bundle that can be inserted into the ECS.
+ ///
+ /// You must apply the metadata after inserting the bundle with
/// [`Self::apply_metadata`].
pub fn as_entity_bundle(&self, world_name: ResourceLocation) -> EntityBundle {
EntityBundle::new(self.uuid, self.position, self.entity_type, world_name)