[PR #4468] [MERGED] Client: seat displays and hitboxes on whatever carries them #5642

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

📋 Pull Request Information

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

Base: main ← Head: pr/display-passengers


📝 Commits (6)

  • 558a9a1 Draw the click boxes of server interaction entities
  • 912a9fe Seat displays and hitboxes on whatever carries them
  • 1167274 Merge remote-tracking branch 'origin/main' into pr/interaction-entities
  • aa284ac Merge remote-tracking branch 'origin/main' into pr/display-passengers
  • 8aff059 rustfmt fix in remote.rs
  • 17aab6b Merge branch 'pr/interaction-entities' into pr/display-passengers

📊 Changes

11 files changed (+307 additions, -35 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+3 -0)
📝 crates/horizon-client/src/game/hand.rs (+1 -0)
➕ crates/horizon-client/src/game/interactions.rs (+132 -0)
📝 crates/horizon-client/src/game/lan_vehicles.rs (+5 -1)
📝 crates/horizon-client/src/game/passengers.rs (+99 -23)
📝 crates/horizon-client/src/game/pick_entity.rs (+3 -1)
📝 crates/horizon-client/src/game/remote.rs (+21 -2)
📝 crates/horizon-client/src/game/remote_objects.rs (+16 -0)
📝 crates/horizon-client/src/game/remote_vehicles.rs (+16 -0)
📝 crates/horizon-client/src/game/text_displays.rs (+3 -0)
📝 tools/port_map/game-006.tsv (+8 -8)

📄 Description

🤖 Opened by Bloodulon's AI agent (Qoder), not by Bloodulon personally.

Summary

ModelEngine mounts a model's item displays (its bones) and interaction hitboxes (its click boxes) on a pivot, usually an area effect cloud, and moves only the pivot. #3776 seats text displays on mobs and the local player through the passenger attachment; an item display riding a pivot display or an area effect cloud, and a hitbox riding a pivot, had no seat at all and stayed where the server first spawned them.

  • Every display and interaction box now asks its vehicle where to sit: mobs through their passenger attachment, boats and minecarts from their seat, armor stands from their box, another display or interaction from its position, and any other tracked entity (the area effect cloud) from its feet.
  • Reuses the existing passenger resolution in passengers.rs across three passes so riders of riders settle properly.

Part of splitting #3795 as requested in review by maintainer @levzzz5154.

🤖 Generated with Qoder


🔄 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/4468 **Author:** [@Bloodulon](https://github.com/Bloodulon) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `pr/display-passengers` --- ### 📝 Commits (6) - [`558a9a1`](https://github.com/horizon-rust/horizon/commit/558a9a13e95f895934aa031c2efe7e297a2927fc) Draw the click boxes of server interaction entities - [`912a9fe`](https://github.com/horizon-rust/horizon/commit/912a9febc7d8b579dcdc2342eb21dfe65109a4f2) Seat displays and hitboxes on whatever carries them - [`1167274`](https://github.com/horizon-rust/horizon/commit/1167274823c0e9a6ed61c1e8de4fda94aca178b1) Merge remote-tracking branch 'origin/main' into pr/interaction-entities - [`aa284ac`](https://github.com/horizon-rust/horizon/commit/aa284acb23ff7fea37687b19e6e061bef9e079d9) Merge remote-tracking branch 'origin/main' into pr/display-passengers - [`8aff059`](https://github.com/horizon-rust/horizon/commit/8aff0594b5cac8de9cb7e6ed4b4bb3aa9b5f1ec6) rustfmt fix in remote.rs - [`17aab6b`](https://github.com/horizon-rust/horizon/commit/17aab6b60196f284b34dda899eba1a15c0cef771) Merge branch 'pr/interaction-entities' into pr/display-passengers ### 📊 Changes **11 files changed** (+307 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+3 -0) 📝 `crates/horizon-client/src/game/hand.rs` (+1 -0) ➕ `crates/horizon-client/src/game/interactions.rs` (+132 -0) 📝 `crates/horizon-client/src/game/lan_vehicles.rs` (+5 -1) 📝 `crates/horizon-client/src/game/passengers.rs` (+99 -23) 📝 `crates/horizon-client/src/game/pick_entity.rs` (+3 -1) 📝 `crates/horizon-client/src/game/remote.rs` (+21 -2) 📝 `crates/horizon-client/src/game/remote_objects.rs` (+16 -0) 📝 `crates/horizon-client/src/game/remote_vehicles.rs` (+16 -0) 📝 `crates/horizon-client/src/game/text_displays.rs` (+3 -0) 📝 `tools/port_map/game-006.tsv` (+8 -8) </details> ### 📄 Description > 🤖 Opened by Bloodulon's AI agent (Qoder), not by Bloodulon personally. ## Summary ModelEngine mounts a model's item displays (its bones) and interaction hitboxes (its click boxes) on a pivot, usually an area effect cloud, and moves only the pivot. #3776 seats text displays on mobs and the local player through the passenger attachment; an item display riding a pivot display or an area effect cloud, and a hitbox riding a pivot, had no seat at all and stayed where the server first spawned them. - Every display and interaction box now asks its vehicle where to sit: mobs through their passenger attachment, boats and minecarts from their seat, armor stands from their box, another display or interaction from its position, and any other tracked entity (the area effect cloud) from its feet. - Reuses the existing passenger resolution in `passengers.rs` across three passes so riders of riders settle properly. Part of splitting #3795 as requested in review by maintainer @levzzz5154. 🤖 Generated with [Qoder](https://qoder.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:00 +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#5642
No description provided.