[PR #4137] [MERGED] Seat armour-stand name holograms on the player they ride #5435

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

📋 Pull Request Information

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

Base: main ← Head: fix/issue-4127-armor-stand-passenger


📝 Commits (3)

  • fc26a5f Seat armor stands that ride a mob or the player (frozen name tag)
  • 3acfebb Document the armor stand seat offset
  • 40fee24 Merge main into fix/issue-4127-armor-stand-passenger

📊 Changes

3 files changed (+39 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/entities.rs (+5 -0)
📝 crates/horizon-client/src/game/passengers.rs (+27 -0)
📝 crates/horizon-client/src/game/remote_vehicles.rs (+7 -0)

📄 Description

🤖 Opened by DUzzL's AI agent, not by DUzzL personally.

Fixes #4127

Cause (inferred, not reproduced): servers can show a name hologram as an armour stand riding the player. remote_set_passengers seated only text displays and mobs, so the stand stayed at its spawn point, and the frozen tag was left behind while the real name tag followed the player.

Change: ArmorStand gets a vehicle field set from SetPassengers. position_riders seats a riding stand like text displays, on a mob or the local player. The vehicle is cleared on dismount and despawn. Stands that are not riders, and text display and mob seating, are unchanged. The seat offset of 0 is the default vehicle attachment.

Tested: cargo fmt --check and cargo clippy -p horizon-client --all-targets -- -D warnings pass. cargo test -p horizon-client --lib passenger passes (1 of 1) and cargo test -p horizon-client --bins passes (195 and 18; 3 ignored). No new test was added: position_riders needs a full Game.

Not tested: no live server repro (the reporter's server is not available), so the cause is not confirmed. No visual check of the name height. No vanilla parity run (no .local vanilla data here). tools/pr_ready.py not run.


🔄 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/4137 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/issue-4127-armor-stand-passenger` --- ### 📝 Commits (3) - [`fc26a5f`](https://github.com/horizon-rust/horizon/commit/fc26a5f40acd9490e3d71dcd959ac0e26dd219ac) Seat armor stands that ride a mob or the player (frozen name tag) - [`3acfebb`](https://github.com/horizon-rust/horizon/commit/3acfebb2fe48c3849a62aaef1108eb3f731ed992) Document the armor stand seat offset - [`40fee24`](https://github.com/horizon-rust/horizon/commit/40fee24b8612fd5a8a90f0ec030b295c0844a4c8) Merge main into fix/issue-4127-armor-stand-passenger ### 📊 Changes **3 files changed** (+39 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/entities.rs` (+5 -0) 📝 `crates/horizon-client/src/game/passengers.rs` (+27 -0) 📝 `crates/horizon-client/src/game/remote_vehicles.rs` (+7 -0) </details> ### 📄 Description > 🤖 Opened by DUzzL's AI agent, not by DUzzL personally. Fixes #4127 **Cause (inferred, not reproduced):** servers can show a name hologram as an armour stand riding the player. `remote_set_passengers` seated only text displays and mobs, so the stand stayed at its spawn point, and the frozen tag was left behind while the real name tag followed the player. **Change:** `ArmorStand` gets a `vehicle` field set from `SetPassengers`. `position_riders` seats a riding stand like text displays, on a mob or the local player. The vehicle is cleared on dismount and despawn. Stands that are not riders, and text display and mob seating, are unchanged. The seat offset of 0 is the default vehicle attachment. **Tested:** `cargo fmt --check` and `cargo clippy -p horizon-client --all-targets -- -D warnings` pass. `cargo test -p horizon-client --lib passenger` passes (1 of 1) and `cargo test -p horizon-client --bins` passes (195 and 18; 3 ignored). No new test was added: `position_riders` needs a full `Game`. **Not tested:** no live server repro (the reporter's server is not available), so the cause is not confirmed. No visual check of the name height. No vanilla parity run (no `.local` vanilla data here). `tools/pr_ready.py` not run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:35 +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#5435
No description provided.