diff options
| author | mat <git@matdoes.dev> | 2025-03-06 04:11:05 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-03-06 04:11:19 +0000 |
| commit | cf66c4be100c898c64d57f9b92f31f809764dc2e (patch) | |
| tree | 9c093621b36e6372a094fc0e128a758bf76e25c7 /azalea-entity/src/plugin/mod.rs | |
| parent | c9022e8f671b5838f4d4ab446013c42191b07f37 (diff) | |
| download | azalea-drasl-cf66c4be100c898c64d57f9b92f31f809764dc2e.tar.xz | |
fix despawning entities on dimension change
Diffstat (limited to 'azalea-entity/src/plugin/mod.rs')
| -rw-r--r-- | azalea-entity/src/plugin/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/azalea-entity/src/plugin/mod.rs b/azalea-entity/src/plugin/mod.rs index bddb4b66..b6ae369f 100644 --- a/azalea-entity/src/plugin/mod.rs +++ b/azalea-entity/src/plugin/mod.rs @@ -206,6 +206,9 @@ pub fn update_bounding_box(mut query: Query<(&Position, &mut Physics), Changed<P /// Marks an entity that's in a loaded chunk. This is updated at the beginning /// of every tick. +/// +/// Internally, this is only used for player physics. Not to be confused with +/// the somewhat similarly named [`LoadedBy`]. #[derive(Component, Clone, Debug, Copy)] pub struct InLoadedChunk; |
