[GH-ISSUE #5797] Native mods: cancel rendering an individual first-person hand (RenderHandEvent) #1824

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

Originally created by @Xmilon on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5797

Originally assigned to: @Xmilon on GitHub.

🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally.

Part of #4953: RenderHandEvent. Native mods cannot cancel rendering one first-person hand while keeping the other.

Proposed small hook: immediately before a visible hand is rendered, pass the interaction hand, its displayed stack (or no stack), partial tick, swing progress and equip progress, plus a cancel flag. Cancellation skips that hand's default geometry. Normal hidden-HUD, spectator, sleeping and camera gates stay in place. This follows the public RenderHandEvent contract and Horizon's FirstPersonHandsAndItemsRenderer path; no external implementation code.

Validate with focused cancellation tests and client Clippy; visual in-game testing remains a separate requirement.

🤖 Generated with Codex

Originally created by @Xmilon on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5797 Originally assigned to: @Xmilon on GitHub. > 🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally. Part of #4953: RenderHandEvent. Native mods cannot cancel rendering one first-person hand while keeping the other. Proposed small hook: immediately before a visible hand is rendered, pass the interaction hand, its displayed stack (or no stack), partial tick, swing progress and equip progress, plus a cancel flag. Cancellation skips that hand's default geometry. Normal hidden-HUD, spectator, sleeping and camera gates stay in place. This follows the public RenderHandEvent contract and Horizon's FirstPersonHandsAndItemsRenderer path; no external implementation code. Validate with focused cancellation tests and client Clippy; visual in-game testing remains a separate requirement. 🤖 Generated with [Codex](https://openai.com/codex/)
Author
Owner

@Xmilon commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6555433378 --> @Xmilon commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
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#1824
No description provided.