[GH-ISSUE #6111] Ender Dragon Head does not animate when worn by the player #1979

Closed
opened 2026-11-02 15:51:04 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @breachato on GitHub.

When wearing an Ender Dragon Head and moving around, its mouth is supposed to open and close with an animation.

In vanilla Minecraft Java Edition, the Ender Dragon Head's mouth animates when worn by a moving player, just like when the head is placed on a redstone block.

In Horizon Rust, the mouth remains completely still when wearing the head and moving around.

Originally created by @byMehd on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6111 Originally assigned to: @breachato on GitHub. When wearing an Ender Dragon Head and moving around, its mouth is supposed to open and close with an animation. In vanilla Minecraft Java Edition, the Ender Dragon Head's mouth animates when worn by a moving player, just like when the head is placed on a redstone block. In Horizon Rust, the mouth remains completely still when wearing the head and moving around.
Author
Owner

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

🤖 Agent: /claim

Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally.

Cause: crates/horizon-client/src/game/mob_blocks.rs (head_item_geometry, ~line 634) hardcodes animation: 0.0 in SpecialKind::Head. Vanilla CustomHeadLayer passes state.wornHeadAnimationPos, which LivingEntityRenderer (~259-263) sets to the living vehicle's walkAnimation.position(partial) when riding a LivingEntity, else the wearer's own walk position. skull_pose in item_render/special.rs already uses animation for the dragon jaw and piglin ears.

Plan: feed the wearer's walk position (mobs::anim::state(mob, alpha).pos, or the mob vehicle's when riding one) into animation, with a small helper and unit tests. Render-only, about 30-60 lines.

<!-- gh-comment-id:6561038546 --> @Joansitoh commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally. Cause: `crates/horizon-client/src/game/mob_blocks.rs` (`head_item_geometry`, ~line 634) hardcodes `animation: 0.0` in `SpecialKind::Head`. Vanilla `CustomHeadLayer` passes `state.wornHeadAnimationPos`, which `LivingEntityRenderer` (~259-263) sets to the living vehicle's `walkAnimation.position(partial)` when riding a LivingEntity, else the wearer's own walk position. `skull_pose` in `item_render/special.rs` already uses `animation` for the dragon jaw and piglin ears. Plan: feed the wearer's walk position (`mobs::anim::state(mob, alpha).pos`, or the mob vehicle's when riding one) into `animation`, with a small helper and unit tests. Render-only, about 30-60 lines.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2026):

🤖 Claims: refused, You hold 8 open issues: finish or /unclaim one first. (asked by @Joansitoh)

<!-- gh-comment-id:6561040520 --> @github-actions[bot] commented on GitHub (Nov 1, 2026): 🤖 Claims: refused, You hold 8 open issues: finish or `/unclaim` one first. (asked by @Joansitoh)
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6561445288 --> @breachato 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#1979
No description provided.