Port map: clipIncludingBorder is clip_including_border

Row 121 said the border clamp of a ray was missing and that clip_ray had
none. It is not in clip_ray: it is the wrapper projectiles.rs puts around
a block clip, a ray that starts inside the border and ends outside it
stopping on the border at WorldBorder.clampVec3ToBound, facing the
nearest direction of travel, which creatures.rs calls for every
projectile clip.
This commit is contained in:
MSedgeMC committed 2026-11-02 14:50:06 +00:00
1 parent 62d8b58284
commit 665ff9893f
1 file changed
+1 -1
+1 -1
View File
@@ -118,7 +118,7 @@ CollisionGetter.noBorderCollision port crates/horizon-client-render/src/collisio
CollisionGetter.getPreMoveCollisions inline crates/horizon-client-render/src/collisions.rs::SceneCollisions::resolve_with_context gap: minor: entity and block shapes are not returned as a list; the resolver takes them together
CollisionGetter.getBlockAndLiquidCollisions port crates/horizon-client-render/src/collisions.rs::no_collision_or_liquid gap: minor: a yes or no test, not the shape list
CollisionGetter.getBlockCollisionsFromContext port crates/horizon-client-render/src/collisions.rs::SceneCollisions::collision_block gap: minor: per-block shape; the box walk is not here
CollisionGetter.clipIncludingBorder missing unsure: no world-border clamp of a ray found in clip_ray
CollisionGetter.clipIncludingBorder port crates/horizon-client/src/projectiles.rs::clip_including_border a ray that starts inside the world border and ends outside it stops on the border at WorldBorder.clampVec3ToBound of that point, facing the nearest direction of travel; the projectile clip in creatures.rs calls it around its block clip
CollisionGetter.collidesWithSuffocatingBlock port crates/horizon-client-render/src/collisions.rs::SceneCollisions::is_suffocating
EntityGetter.getEntitiesOfClass skip:other class filter repeated at each caller over the entity lists; no shared lookup
EntityGetter.getPlayerByUUID skip:other uuid find repeated at each caller (e.g. allays.rs)
1 Enchantment.getSlotItems inline crates/horizon-world/src/loot.rs::LootData::enchantment_level slot filter and item lookup folded into the best-level loop
118 CollisionGetter.getPreMoveCollisions inline crates/horizon-client-render/src/collisions.rs::SceneCollisions::resolve_with_context gap: minor: entity and block shapes are not returned as a list; the resolver takes them together
119 CollisionGetter.getBlockAndLiquidCollisions port crates/horizon-client-render/src/collisions.rs::no_collision_or_liquid gap: minor: a yes or no test, not the shape list
120 CollisionGetter.getBlockCollisionsFromContext port crates/horizon-client-render/src/collisions.rs::SceneCollisions::collision_block gap: minor: per-block shape; the box walk is not here
121 CollisionGetter.clipIncludingBorder missing port crates/horizon-client/src/projectiles.rs::clip_including_border unsure: no world-border clamp of a ray found in clip_ray a ray that starts inside the world border and ends outside it stops on the border at WorldBorder.clampVec3ToBound of that point, facing the nearest direction of travel; the projectile clip in creatures.rs calls it around its block clip
122 CollisionGetter.collidesWithSuffocatingBlock port crates/horizon-client-render/src/collisions.rs::SceneCollisions::is_suffocating
123 EntityGetter.getEntitiesOfClass skip:other class filter repeated at each caller over the entity lists; no shared lookup
124 EntityGetter.getPlayerByUUID skip:other uuid find repeated at each caller (e.g. allays.rs)