[PR #4641] [MERGED] Sit an enderman that rides a boat #5748

Closed
opened 2026-11-03 05:14:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4641
Author: @WooCaash
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/4565-enderman-boat-sit


📝 Commits (3)

  • 355b5f0 Sit an enderman that rides a boat.
  • 0d9dcfd rustfmt the seated-enderman anim test.
  • 9b6a9a6 Sort anim.rs imports for rustfmt.

📊 Changes

2 files changed (+74 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/mobs/anim.rs (+72 -2)
📝 crates/horizon-client/src/mobs/enderman.rs (+2 -0)

📄 Description

🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally.

Summary

  • humanoid_pub (used by EndermanModel.setupAnim) ignored isPassenger, so a boat passenger never got HumanoidModel's riding pose before the enderman limb clamp
  • Forward m.extra.passenger into that humanoid pass (vanilla also halves/clamps only xRot afterwards; riding y/z on the legs stay)

Fixes #4565

Test plan

  • cargo test -p horizon-client --lib mobs::anim::flight_pose_tests::a_seated_enderman_keeps_the_riding_leg_twist
  • cargo clippy -p horizon-client --lib --tests -- -D warnings
  • In-game: push a boat into an enderman and confirm the legs tuck (sitting), not a full stand

Made with Cursor


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4641 **Author:** [@WooCaash](https://github.com/WooCaash) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4565-enderman-boat-sit` --- ### 📝 Commits (3) - [`355b5f0`](https://github.com/horizon-rust/horizon/commit/355b5f099e46aad45389776e28af570a044742e5) Sit an enderman that rides a boat. - [`0d9dcfd`](https://github.com/horizon-rust/horizon/commit/0d9dcfd24714efdfa8b150908812987f6aaea6c0) rustfmt the seated-enderman anim test. - [`9b6a9a6`](https://github.com/horizon-rust/horizon/commit/9b6a9a6b556641c956e2151b45c9b400a209c447) Sort anim.rs imports for rustfmt. ### 📊 Changes **2 files changed** (+74 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/anim.rs` (+72 -2) 📝 `crates/horizon-client/src/mobs/enderman.rs` (+2 -0) </details> ### 📄 Description > 🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally. ## Summary - `humanoid_pub` (used by `EndermanModel.setupAnim`) ignored `isPassenger`, so a boat passenger never got HumanoidModel's riding pose before the enderman limb clamp - Forward `m.extra.passenger` into that humanoid pass (vanilla also halves/clamps only xRot afterwards; riding y/z on the legs stay) Fixes #4565 ## Test plan - [x] `cargo test -p horizon-client --lib mobs::anim::flight_pose_tests::a_seated_enderman_keeps_the_riding_leg_twist` - [x] `cargo clippy -p horizon-client --lib --tests -- -D warnings` - [ ] In-game: push a boat into an enderman and confirm the legs tuck (sitting), not a full stand Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:43 +07:00
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#5748
No description provided.