[GH-ISSUE #1481] [server-thread] Evoker fangs hurt nearby mobs but not the player #448

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

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

Tested 33e35d37c0362a0580e4927bfc12d0b15a3dc5a7 with explicit --server-thread and --no-server-thread.

Reproduce in Survival: let an evoker cast its line of fangs at you while standing on the same flat floor. Stand in the line of the snapping jaws.

Expected: fang hits damage the player, as in old singleplayer and native 26.3.
Actual with --server-thread: fangs damage a cow in their path, but the player takes no damage.

Three fresh paired trials: current-mob-attacks-{a,b,c} under .local/singleplayer-audit/. The two shorter repeats give player 100→88 old / 100→100 threaded, while the cow goes 40→34 in both. Old hurt logs identify six-point minecraft:indirect_magic hits. Eight harmless NoAI vexes suppress the summon spell and exclude vex attacks.

Corrected native control native-evoker-reference-d/check.log verifies its floor, then observes player 100→94 and cow damage on Normal. Earlier native runs with an unloaded floor are excluded.

Hypothesis: fangs_bite checks Game.player but omits the integrated server's guest player.

Acceptance: a threaded Survival player intersecting active fangs receives the native damage, while mob damage remains correct. Rendering is a separate issue.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1481 Tested `33e35d37c0362a0580e4927bfc12d0b15a3dc5a7` with explicit `--server-thread` and `--no-server-thread`. Reproduce in Survival: let an evoker cast its line of fangs at you while standing on the same flat floor. Stand in the line of the snapping jaws. Expected: fang hits damage the player, as in old singleplayer and native 26.3. Actual with `--server-thread`: fangs damage a cow in their path, but the player takes no damage. Three fresh paired trials: `current-mob-attacks-{a,b,c}` under `.local/singleplayer-audit/`. The two shorter repeats give player 100→88 old / 100→100 threaded, while the cow goes 40→34 in both. Old hurt logs identify six-point `minecraft:indirect_magic` hits. Eight harmless NoAI vexes suppress the summon spell and exclude vex attacks. Corrected native control `native-evoker-reference-d/check.log` verifies its floor, then observes player 100→94 and cow damage on Normal. Earlier native runs with an unloaded floor are excluded. Hypothesis: `fangs_bite` checks `Game.player` but omits the integrated server's guest player. Acceptance: a threaded Survival player intersecting active fangs receives the native damage, while mob damage remains correct. Rendering is a separate issue.
Author
Owner

@kacpherek commented on GitHub (Oct 26, 2026):

This looks fixed on main by #1512 (merged 2026-10-24), which lists it: mob effects, the axolotl's help and evoker fangs now reach a server's players. Can it be closed, or does it still happen on a current build?

<!-- gh-comment-id:6414871352 --> @kacpherek commented on GitHub (Oct 26, 2026): This looks fixed on main by #1512 (merged 2026-10-24), which lists it: mob effects, the axolotl's help and evoker fangs now reach a server's players. Can it be closed, or does it still happen on a current build?
Author
Owner

@rdbtCVS commented on GitHub (Oct 26, 2026):

🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Closing as addressed by merged #1512, which explicitly lists this issue and routes fang hits to server guests. Its published regression covers the shared strike path; this audit did not rerun the exact fang scenario. Reopen if the original reproduction still fails on a build containing the fix.

<!-- gh-comment-id:6418425319 --> @rdbtCVS commented on GitHub (Oct 26, 2026): 🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Closing as addressed by merged #1512, which explicitly lists this issue and routes fang hits to server guests. Its published regression covers the shared strike path; this audit did not rerun the exact fang scenario. Reopen if the original reproduction still fails on a build containing the fix.
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#448
No description provided.