[PR #5359] [MERGED] Draw another player*s shoulder parrot #6237

Closed
opened 2026-11-03 06:16:13 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5359
Author: @MSedgeMC
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: fix/remote-shoulder-parrot


📝 Commits (1)

  • b327777 Draw another player*s shoulder parrot

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+4 -3)

📄 Description

Vanilla's ParrotOnShoulderLayer draws both shoulder parrots for every avatar. Horizon has the layer and already decodes another player's ShoulderEntityLeft/Right, but only the own-player model called the geometry — so your parrot showed in F5 and someone else's was invisible.

One call beside the cape, elytra, spin-attack and stuck-arrow layers, in AvatarRenderer's order, using the existing geometry function. It sits outside the cape's visibility guard because vanilla's layer has no visibility check.

Not proven: there is no test seam here — shoulder_parrots_geometry needs a Game with resources and an atlas, and the only nearby test pins variant-to-texture. The proof is a LAN run: a parrot on a guest's shoulder, host screenshot. Compile-checked only (cargo check -p horizon-client --lib --bins, clean).

Left alone deliberately: the deprecated in-frame host path draws guests through a different function that still has no parrot call.


🔄 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/5359 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/remote-shoulder-parrot` --- ### 📝 Commits (1) - [`b327777`](https://github.com/horizon-rust/horizon/commit/b3277770e6528fb06dd956ac4ff364c6e43d7909) Draw another player*s shoulder parrot ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+4 -3) </details> ### 📄 Description Vanilla's ParrotOnShoulderLayer draws both shoulder parrots for **every** avatar. Horizon has the layer and already decodes another player's ShoulderEntityLeft/Right, but only the own-player model called the geometry — so your parrot showed in F5 and someone else's was invisible. One call beside the cape, elytra, spin-attack and stuck-arrow layers, in AvatarRenderer's order, using the existing geometry function. It sits outside the cape's visibility guard because vanilla's layer has no visibility check. **Not proven:** there is no test seam here — shoulder_parrots_geometry needs a Game with resources and an atlas, and the only nearby test pins variant-to-texture. The proof is a LAN run: a parrot on a guest's shoulder, host screenshot. Compile-checked only (cargo check -p horizon-client --lib --bins, clean). Left alone deliberately: the deprecated in-frame host path draws guests through a different function that still has no parrot call. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:13 +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#6237
No description provided.