[GH-ISSUE #1351] [both singleplayer modes] Ender pearls survive death despite the vanish-on-death rule #379

Closed
opened 2026-11-02 15:38:38 +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/1351

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d; reproduced in both --no-server-thread and --server-thread.

Reproduce

  1. On a safe flat survival world, set your spawn, then move ten blocks away.
  2. Confirm /gamerule ender_pearls_vanish_on_death true.
  3. Throw an ender pearl almost straight up; kill yourself while it is airborne.
  4. Wait until Respawn is enabled, respawn, then allow the pearl to land.

Expected: The pearl disappears on death. The respawned player stays at spawn with 20 health.

Actual: The pearl remains airborne while its owner is dead. After respawning at 20 health, the player is teleported back near the death site and takes five damage. Waiting 120 ticks establishes the completed result. Setting the rule false produces the same behavior.

Reproduced in two fresh mode pairs. Authoritative rule queries return true; post-death projectile observations show the retained pearl, and final position/health are server-confirmed. Native 26.3 ThrownEnderpearl.tick explicitly discards a dead player's pearl when this rule is true.

Evidence: .local/singleplayer-audit/items-f/pearl-death-default-{old,threaded}/result.json and items-d/pearl-death-*/result.json. Driver: tools/singleplayer_items_audit.py --case pearl-death-default. No matching issue found.

Hypothesis: The projectile/death path never applies the stored rule.

Acceptance: True removes in-flight pearls on death and prevents later teleport/damage; false retains the intended alternate behavior.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1351 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`; reproduced in both `--no-server-thread` and `--server-thread`. **Reproduce** 1. On a safe flat survival world, set your spawn, then move ten blocks away. 2. Confirm `/gamerule ender_pearls_vanish_on_death true`. 3. Throw an ender pearl almost straight up; kill yourself while it is airborne. 4. Wait until Respawn is enabled, respawn, then allow the pearl to land. **Expected:** The pearl disappears on death. The respawned player stays at spawn with 20 health. **Actual:** The pearl remains airborne while its owner is dead. After respawning at 20 health, the player is teleported back near the death site and takes five damage. Waiting 120 ticks establishes the completed result. Setting the rule false produces the same behavior. Reproduced in two fresh mode pairs. Authoritative rule queries return true; post-death projectile observations show the retained pearl, and final position/health are server-confirmed. Native 26.3 `ThrownEnderpearl.tick` explicitly discards a dead player's pearl when this rule is true. Evidence: `.local/singleplayer-audit/items-f/pearl-death-default-{old,threaded}/result.json` and `items-d/pearl-death-*/result.json`. Driver: `tools/singleplayer_items_audit.py --case pearl-death-default`. No matching issue found. **Hypothesis:** The projectile/death path never applies the stored rule. **Acceptance:** True removes in-flight pearls on death and prevents later teleport/damage; false retains the intended alternate behavior.
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#379
No description provided.