[GH-ISSUE #1528] [server-thread] Nether portal arrivals freeze until a player follows #485

Closed
opened 2026-11-02 15:39:26 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1528

🤖 Filed by an AI assistant (Codex).

Tested 9dd9a836991e263b51d0cec0f690d40a0b09eecc, explicitly with --server-thread and --no-server-thread, render distance 4. Both modes are affected; Minecraft Java 26.3 supplies the expected behavior.

Reproduce in a disposable world with cheats:

  1. Prepare matching, usable Nether portals in both dimensions: opening x=0..1, y=100..102, z=3; a solid floor at y=99. Return to the Overworld, standing at .5 100 -4.5.
  2. Run /summon item .5 100 3.5 {Tags:["aging"],Item:{id:"minecraft:diamond",count:7},Age:5800s,PickupDelay:0s}.
  3. Stay in the Overworld for at least 290 game ticks. Run /execute in minecraft:the_nether run tp @s .5 100 2.5, then allow arrival and another 100 ticks.

Expected: The item enters the Nether and finishes its remaining 200-tick lifetime there. Nothing is collected.

Actual: All seven diamonds are collected after following. Reproduced twice per mode. A source-side item of the same age despawns correctly. A fresh portal item is collected normally in both Horizon and Minecraft.

Evidence: In two native runs, the old item is already in the Nether at age ~5838, then disappears; inventory after following is empty. Horizon gives seven instead. Traces/results: .local/singleplayer-audit/ticket-{a,b}/portal-aged-*; native logs: ticket-native-{a,b}/check.log.

Hypothesis: send_through_portal stores arrivals as NBT; destination loading/ticking waits for a player. No /forceload is involved (distinct from #1525).

Acceptance: Non-player portal arrivals activate/process their destination sufficiently for this lifetime test; the fresh-item pickup control still returns exactly seven.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1528 > 🤖 Filed by an AI assistant (Codex). Tested `9dd9a836991e263b51d0cec0f690d40a0b09eecc`, explicitly with `--server-thread` and `--no-server-thread`, render distance 4. Both modes are affected; Minecraft Java 26.3 supplies the expected behavior. Reproduce in a disposable world with cheats: 1. Prepare matching, usable Nether portals in both dimensions: opening x=0..1, y=100..102, z=3; a solid floor at y=99. Return to the Overworld, standing at `.5 100 -4.5`. 2. Run `/summon item .5 100 3.5 {Tags:["aging"],Item:{id:"minecraft:diamond",count:7},Age:5800s,PickupDelay:0s}`. 3. Stay in the Overworld for at least 290 game ticks. Run `/execute in minecraft:the_nether run tp @s .5 100 2.5`, then allow arrival and another 100 ticks. **Expected:** The item enters the Nether and finishes its remaining 200-tick lifetime there. Nothing is collected. **Actual:** All seven diamonds are collected after following. Reproduced twice per mode. A source-side item of the same age despawns correctly. A fresh portal item is collected normally in both Horizon and Minecraft. **Evidence:** In two native runs, the old item is already in the Nether at age ~5838, then disappears; inventory after following is empty. Horizon gives seven instead. Traces/results: `.local/singleplayer-audit/ticket-{a,b}/portal-aged-*`; native logs: `ticket-native-{a,b}/check.log`. **Hypothesis:** `send_through_portal` stores arrivals as NBT; destination loading/ticking waits for a player. No `/forceload` is involved (distinct from #1525). **Acceptance:** Non-player portal arrivals activate/process their destination sufficiently for this lifetime test; the fresh-item pickup control still returns exactly seven.
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#485
No description provided.