[GH-ISSUE #1322] [singleplayer] Slow Falling slows descent but does not prevent fall damage #358

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

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

Tested commit: 83fa14e51b. Affects both explicit singleplayer modes.

  1. In survival without armor, apply effect give @s slow_falling 120.
  2. Walk off a four-block-high ledge onto solid ground.
  3. Wait until landing completes. Compare --no-server-thread and --server-thread.

Expected: no fall damage while Slow Falling remains active. Vanilla 26.3 clears fall distance during its effect.

Actual: both modes slow the descent but lose one health point, exactly like the bare control (20 → 19). The effect still has over 2,200 ticks remaining after landing. Eight-block drops lose five points with or without the effect. Reproduced in three fresh pairs, including the natural ledge walk rather than only teleport-assisted drops.

Hypothesis: Horizon applies the gravity change but omits LivingEntity.aiStep's fall-distance reset for the effect.

Acceptance: active Slow Falling prevents fall damage in both modes, including walking off ledges; bare falls retain normal damage.

Evidence: tools/singleplayer_effects_audit.py --case slow-fall-ledge --case slow-fall-damage --case slow-fall-damage-small; authoritative health and active effects in .local/singleplayer-audit/effects-{b,c}/. Shared bug, not a threaded regression. No matching issue found.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1322 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. Affects both explicit singleplayer modes. 1. In survival without armor, apply `effect give @s slow_falling 120`. 2. Walk off a four-block-high ledge onto solid ground. 3. Wait until landing completes. Compare `--no-server-thread` and `--server-thread`. Expected: no fall damage while Slow Falling remains active. Vanilla 26.3 clears fall distance during its effect. Actual: both modes slow the descent but lose one health point, exactly like the bare control (20 → 19). The effect still has over 2,200 ticks remaining after landing. Eight-block drops lose five points with or without the effect. Reproduced in three fresh pairs, including the natural ledge walk rather than only teleport-assisted drops. Hypothesis: Horizon applies the gravity change but omits `LivingEntity.aiStep`'s fall-distance reset for the effect. Acceptance: active Slow Falling prevents fall damage in both modes, including walking off ledges; bare falls retain normal damage. Evidence: `tools/singleplayer_effects_audit.py --case slow-fall-ledge --case slow-fall-damage --case slow-fall-damage-small`; authoritative health and active effects in `.local/singleplayer-audit/effects-{b,c}/`. Shared bug, not a threaded regression. No matching issue found.
Author
Owner

@ludovic111 commented on GitHub (Oct 25, 2026):

Claimed by rdbt on Discord (GitHub: rdbtCVS), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #1322).

<!-- gh-comment-id:6391337351 --> @ludovic111 commented on GitHub (Oct 25, 2026): Claimed by `rdbt` on Discord (GitHub: `rdbtCVS`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #1322). <!-- kira:work -->
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#358
No description provided.