[PR #7761] [CLOSED] Raider captains wear the ominous banner stack on spawn (fixes #7547) #7803

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7761
Author: @hkancelik
Created: 11/2/2026
Status: ❌ Closed

Base: main ← Head: fix/7547-patrol-leader-banner


📝 Commits (2)

  • ba81815 Raider captains wear the ominous banner stack on spawn (fixes #7547)
  • 7e89257 fix(raider): ensure Drop::Stack raider banners are converted to ominous banners

📊 Changes

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

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+6 -1)
📝 crates/horizon-client/src/mobs/finalize.rs (+1 -1)

📄 Description

Fixes #7547. Follows PR #4621.

What and why

  1. Captain Spawn & Visual: Naturally spawned patrol and outpost leaders in crates/horizon-client/src/mobs/finalize.rs called set_item(m, HEAD, super::raider::BANNER) instead of super::raider::wear_banner(m). As a result, extra.armor[0] was not populated with the ominous stack on spawn. Clients therefore received only bare minecraft:white_banner without components, causing is_captain to evaluate to false on the client and drawing plain white cloth via CustomHeadLayer instead of captain_banner_geometry.
  2. Captain Drop on Death: In crates/horizon-client/src/game/creatures.rs, raider banner drops were only converted to raider::ominous_banner() under Drop::Item. However, when a raider dies, equipment dropped from its head slot is emitted as Drop::Stack. Without matching Drop::Stack, killed raid and patrol captains dropped a blank minecraft:white_banner.

Kind

  • parity
  • bug

🔄 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/7761 **Author:** [@hkancelik](https://github.com/hkancelik) **Created:** 11/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/7547-patrol-leader-banner` --- ### 📝 Commits (2) - [`ba81815`](https://github.com/horizon-rust/horizon/commit/ba818155b739acc1303d6b3d894de940094163f5) Raider captains wear the ominous banner stack on spawn (fixes #7547) - [`7e89257`](https://github.com/horizon-rust/horizon/commit/7e89257b2d2ea1d8a42fe543d497a3c3906b3810) fix(raider): ensure Drop::Stack raider banners are converted to ominous banners ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+6 -1) 📝 `crates/horizon-client/src/mobs/finalize.rs` (+1 -1) </details> ### 📄 Description Fixes #7547. Follows PR #4621. ## What and why 1. **Captain Spawn & Visual:** Naturally spawned patrol and outpost leaders in `crates/horizon-client/src/mobs/finalize.rs` called `set_item(m, HEAD, super::raider::BANNER)` instead of `super::raider::wear_banner(m)`. As a result, `extra.armor[0]` was not populated with the ominous stack on spawn. Clients therefore received only bare `minecraft:white_banner` without components, causing `is_captain` to evaluate to `false` on the client and drawing plain white cloth via `CustomHeadLayer` instead of `captain_banner_geometry`. 2. **Captain Drop on Death:** In `crates/horizon-client/src/game/creatures.rs`, raider banner drops were only converted to `raider::ominous_banner()` under `Drop::Item`. However, when a raider dies, equipment dropped from its head slot is emitted as `Drop::Stack`. Without matching `Drop::Stack`, killed raid and patrol captains dropped a blank `minecraft:white_banner`. ## Kind - [x] parity - [x] bug --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:24:23 +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#7803
No description provided.