[PR #3622] [CLOSED] armour: worn enchanted armour shows its glint, on the player and the others #5103

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3622
Author: @iLostName
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: worn-armour-glint


📝 Commits (1)

  • 1c9d011 armour: worn enchanted armour shows its glint, on the player and the others

📊 Changes

2 files changed (+28 additions, -20 deletions)

View changed files

📝 crates/horizon-client/src/game/armor_stands.rs (+20 -16)
📝 crates/horizon-client/src/mobs/render.rs (+8 -4)

📄 Description

What and why

Enchanted armour worn by the player or by another player showed no glint; only armour stands drew it. The worn layers now read the stack's hasFoil, from the armour stacks the client already keeps for each player. Fixes #3024.

Vanilla reference

EquipmentLayerRenderer.renderLayers: itemStack.hasFoil() draws the layer with armorCutoutNoCullGlint, Horizon's ARMOR_GLINT overlay, as armour stands already do.

Self-check

pr_ready (tools/pr_ready.py --quick on PC-Lost, against origin/main at 11494e17f, 1 min 59 s)

Check Result
Scope ✅ 2 files, +28 −20
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ❌ 408 run, FAILED (failures=1, skipped=12) (1 min 9 s)
rustfmt ✅ (12 s)
clippy ✅ (7 s)
tests: horizon-client ✅ 795 passed (24 s)
doc tests ✅ 0 passed (4 s)
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

The one failure under Python tests is test_port_publish.PublishTests.test_body_has_names_and_signatures_only, a ~/ against ~\ path check that fails on Windows on main too. Parity is left to CI.


🔄 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/3622 **Author:** [@iLostName](https://github.com/iLostName) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `worn-armour-glint` --- ### 📝 Commits (1) - [`1c9d011`](https://github.com/horizon-rust/horizon/commit/1c9d011bc10e4e1f4d653c1c09bf4008bdfed2f9) armour: worn enchanted armour shows its glint, on the player and the others ### 📊 Changes **2 files changed** (+28 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/armor_stands.rs` (+20 -16) 📝 `crates/horizon-client/src/mobs/render.rs` (+8 -4) </details> ### 📄 Description ## What and why Enchanted armour worn by the player or by another player showed no glint; only armour stands drew it. The worn layers now read the stack's `hasFoil`, from the armour stacks the client already keeps for each player. Fixes #3024. ## Vanilla reference `EquipmentLayerRenderer.renderLayers`: `itemStack.hasFoil()` draws the layer with `armorCutoutNoCullGlint`, Horizon's `ARMOR_GLINT` overlay, as armour stands already do. ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on PC-Lost, against origin/main at 11494e17f, 1 min 59 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +28 −20 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ❌ 408 run, FAILED (failures=1, skipped=12) (1 min 9 s) | | rustfmt | ✅ (12 s) | | clippy | ✅ (7 s) | | tests: horizon-client | ✅ 795 passed (24 s) | | doc tests | ✅ 0 passed (4 s) | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | The one failure under Python tests is `test_port_publish.PublishTests.test_body_has_names_and_signatures_only`, a `~/` against `~\` path check that fails on Windows on main too. Parity is left to CI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:15 +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#5103
No description provided.