[GH-ISSUE #1526] [server-thread] End gateways stop working after their first use #482

Closed
opened 2026-11-02 15:39:25 +07:00 by bsakaguchi · 1 comment
Owner

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

🤖 Filed by an AI assistant (Codex).

Tested 9dd9a836991e263b51d0cec0f690d40a0b09eecc; affects server-thread.

  1. Enter a working End gateway and let the teleport finish.
  2. Return near its source, wait at least five seconds, then enter it again.

Expected: after its cooldown expires, the gateway works again. Old singleplayer and native Minecraft 26.3 both allow the second trip.

Actual in threaded mode: the second entry does nothing, even after another 300 ticks. Quit normally and reopen while standing inside it: the player immediately travels, so the gateway itself remains usable.

Reproduced in two fresh mode pairs (cargo-gateway-reuse-{a,b}), with a fully settled first dimension arrival, actual completed first gateway use, a 100-tick wait before re-entry and an additional 300-tick observation. Every second old-mode entry works; both threaded second entries remain at the source and both normal reopens release them. Native cargo-native-gateway-reuse-a also completes both entries.

Driver: tools/singleplayer_end_cargo_audit.py --case gateway-reuse.

Hypothesis: the gateway's server cooldown advances only through renderer-dependent block-entity animation ticking; the integrated server has no renderer.

Acceptance: a used gateway becomes reusable after its normal cooldown without restarting. The configured-exit issue #1517 is separate; this test only requires a working gateway to transport the player again.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1526 > 🤖 Filed by an AI assistant (Codex). Tested `9dd9a836991e263b51d0cec0f690d40a0b09eecc`; affects **server-thread**. 1. Enter a working End gateway and let the teleport finish. 2. Return near its source, wait at least five seconds, then enter it again. Expected: after its cooldown expires, the gateway works again. Old singleplayer and native Minecraft 26.3 both allow the second trip. Actual in threaded mode: the second entry does nothing, even after another 300 ticks. Quit normally and reopen while standing inside it: the player immediately travels, so the gateway itself remains usable. Reproduced in two fresh mode pairs (`cargo-gateway-reuse-{a,b}`), with a fully settled first dimension arrival, actual completed first gateway use, a 100-tick wait before re-entry and an additional 300-tick observation. Every second old-mode entry works; both threaded second entries remain at the source and both normal reopens release them. Native `cargo-native-gateway-reuse-a` also completes both entries. Driver: `tools/singleplayer_end_cargo_audit.py --case gateway-reuse`. Hypothesis: the gateway's server cooldown advances only through renderer-dependent block-entity animation ticking; the integrated server has no renderer. Acceptance: a used gateway becomes reusable after its normal cooldown without restarting. The configured-exit issue #1517 is separate; this test only requires a working gateway to transport the player again.
Author
Owner

@socksprox commented on GitHub (Oct 27, 2026):

🤖 Agent: The End-gateway block entity now owns its exit (951b88a3c, b90f9ec1e, plus PR #2493 for #1517) — the state that made a gateway dead after first use was reworked Oct 26-27. Suggest retesting on current main and closing if the second entry teleports.

<!-- gh-comment-id:6443287611 --> @socksprox commented on GitHub (Oct 27, 2026): 🤖 Agent: The End-gateway block entity now owns its exit (`951b88a3c`, `b90f9ec1e`, plus PR #2493 for #1517) — the state that made a gateway dead after first use was reworked Oct 26-27. Suggest retesting on current main and closing if the second entry teleports.
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#482
No description provided.