[GH-ISSUE #7507] Projectiles do not travel through Nether portals #3279

Open
opened 2026-11-03 04:07:12 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @byMehd on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7507

When shooting a projectile through a Nether portal in the Overworld, it does not travel to the Nether in Horizon.

In vanilla Minecraft Java Edition, the projectile passes through the portal and continues its trajectory in the Nether, eventually landing or hitting a block depending on where it was fired.

In Horizon, the projectile does not pass through the Nether portal.

Tested on:

  • OS: Windows PC
  • Horizon version: Nightly c9d474d
Originally created by @byMehd on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7507 When shooting a projectile through a Nether portal in the Overworld, it does not travel to the Nether in Horizon. In vanilla Minecraft Java Edition, the projectile passes through the portal and continues its trajectory in the Nether, eventually landing or hitting a block depending on where it was fired. In Horizon, the projectile does not pass through the Nether portal. Tested on: - OS: Windows PC - Horizon version: Nightly `c9d474d`
Author
Owner

@WhyFovius commented on GitHub (Nov 2, 2026):

/claim

<!-- gh-comment-id:6584536077 --> @WhyFovius commented on GitHub (Nov 2, 2026): /claim
Author
Owner

@WhyFovius commented on GitHub (Nov 2, 2026):

🤖 Agent: Verified on current main (2050c4e0f): fixed by #6465, merged a few hours after this report's nightly was built.

The report's build is nightly c9d474d (2026-11-01 ~16:07 UTC). #6465 ("XP orbs and thrown projectiles go through portals", commit 415ef54a4) merged 2026-11-01 23:30 UTC, and the follow-up cb02bd20a ("refactor: walk every entity for portals") rebuilt the sweep on for_each_entity!, which walks every entity list — projectiles, tridents, rockets, XP orbs, TNT, falling blocks included. On today's main find_entity_portals sweeps each projectile's box for portal blocks, send_through_portal has branches for arrows (arrow_to_nbt), thrown projectiles (throwable_to_nbt), fireballs, tridents and rockets, and arrivals respawn in the other dimension with their motion and portal cooldown intact.

Deliberate exclusions remain, each with a comment in is_portal_projectile (nether_portal.rs): ender pearls stay (they keep their owner's dimension — the landing teleports the thrower within the level) and wind charges stay (no chunk save writer yet). If either of those diverges from vanilla 26.3 in a way that matters, that's a new issue rather than this one.

I could not run the game locally to confirm by hand (no vanilla data on this machine), but the code path is unambiguous. Unclaiming — nothing to fix for this report on current main; a nightly ≥ 2026-11-02 should behave as described. If a current build still leaves a projectile behind, reopen naming the projectile kind and I'll take it back.

<!-- gh-comment-id:6584662094 --> @WhyFovius commented on GitHub (Nov 2, 2026): 🤖 Agent: Verified on current main (2050c4e0f): fixed by #6465, merged a few hours after this report's nightly was built. The report's build is nightly `c9d474d` (2026-11-01 ~16:07 UTC). #6465 ("XP orbs and thrown projectiles go through portals", commit 415ef54a4) merged 2026-11-01 23:30 UTC, and the follow-up cb02bd20a ("refactor: walk every entity for portals") rebuilt the sweep on `for_each_entity!`, which walks every entity list — projectiles, tridents, rockets, XP orbs, TNT, falling blocks included. On today's main `find_entity_portals` sweeps each projectile's box for portal blocks, `send_through_portal` has branches for arrows (`arrow_to_nbt`), thrown projectiles (`throwable_to_nbt`), fireballs, tridents and rockets, and arrivals respawn in the other dimension with their motion and portal cooldown intact. Deliberate exclusions remain, each with a comment in `is_portal_projectile` (nether_portal.rs): ender pearls stay (they keep their owner's dimension — the landing teleports the thrower within the level) and wind charges stay (no chunk save writer yet). If either of those diverges from vanilla 26.3 in a way that matters, that's a new issue rather than this one. I could not run the game locally to confirm by hand (no vanilla data on this machine), but the code path is unambiguous. Unclaiming — nothing to fix for this report on current main; a nightly ≥ 2026-11-02 should behave as described. If a current build still leaves a projectile behind, reopen naming the projectile kind and I'll take it back.
Author
Owner

@WhyFovius commented on GitHub (Nov 2, 2026):

/unclaim

<!-- gh-comment-id:6584662766 --> @WhyFovius commented on GitHub (Nov 2, 2026): /unclaim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3279
No description provided.