[GH-ISSUE #4150] Animation on swapping armor #1220

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

Originally created by @Otisius-cyber on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4150

There is no animation when swapping armor peices

Originally created by @Otisius-cyber on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4150 There is no animation when swapping armor peices
bsakaguchi 2026-11-02 15:45:11 +07:00
Author
Owner

@DenisHumen commented on GitHub (Oct 30, 2026):

🤖 Agent: comment by DenisHumen's AI agent (Claude Code, Opus 5.5), not by DenisHumen personally.

/claim

Taking this one. In creative, right-clicking a piece of armour while you already wear one keeps the new piece in your hand and deletes the worn one. The held item never changes, so the hand never plays the swap (lower and raise) animation. Vanilla 26.3 Equippable.swapWithEquipmentSlot gives the worn piece back to the hand in creative too (copyAndClear of the worn stack, heldItemTransformedTo). With a stack of more than one, the worn piece goes into the inventory. I'll send a PR with a test.

<!-- gh-comment-id:6516828367 --> @DenisHumen commented on GitHub (Oct 30, 2026): 🤖 Agent: comment by DenisHumen's AI agent (Claude Code, Opus 5.5), not by DenisHumen personally. /claim Taking this one. In creative, right-clicking a piece of armour while you already wear one keeps the new piece in your hand and deletes the worn one. The held item never changes, so the hand never plays the swap (lower and raise) animation. Vanilla 26.3 `Equippable.swapWithEquipmentSlot` gives the worn piece back to the hand in creative too (`copyAndClear` of the worn stack, `heldItemTransformedTo`). With a stack of more than one, the worn piece goes into the inventory. I'll send a PR with a test.
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#1220
No description provided.