[PR #547] [MERGED] Fix Ominous Banner data, tooltips and breaking effects #2635

Closed
opened 2026-11-02 15:57:48 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/547
Author: @Online5277
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/17/2026
Merged by: @ludovic111

Base: main ← Head: fix/banner-item-components


📝 Commits (6)

  • 4218a49 Preserve ominous banner components through placement and drops
  • 8f86098 Show ominous banner names and rarity in HUD and Creative tooltips
  • 86ccd5d Render banner breaking cracks and oak-plank particles
  • 53955ab Hide ominous banner pattern descriptions in tooltips
  • 3c28f55 Merge main into fix/banner-item-components
  • cf4f95f Merge remote-tracking branch 'origin/main' into HEAD

📊 Changes

11 files changed (+402 additions, -46 deletions)

View changed files

📝 crates/horizon-client/src/banner.rs (+26 -0)
📝 crates/horizon-client/src/block_entity_render.rs (+151 -4)
📝 crates/horizon-client/src/breaking.rs (+48 -0)
📝 crates/horizon-client/src/containers.rs (+2 -0)
📝 crates/horizon-client/src/game.rs (+26 -8)
📝 crates/horizon-client/src/game/spill.rs (+77 -6)
📝 crates/horizon-client/src/game/stations.rs (+5 -13)
📝 crates/horizon-client/src/game/titles.rs (+7 -14)
📝 crates/horizon-client/src/item_tooltip.rs (+42 -0)
📝 crates/horizon-client/src/models/catalog.rs (+7 -0)
📝 crates/horizon-client/src/save.rs (+11 -1)

📄 Description

Refs #526.

Ominous Banners lose their item name and rarity after placement/breaking, display as ordinary white banners in the hotbar/Creative item tabs, show pattern-color descriptions despite the hidden-pattern setting, and lack breaking cracks and the correct terrain particles.

Preserve the banner block entity's remaining components through placement, save/load, Pick Block and drops. Copy the fields listed in the pinned banner loot table back into the dropped item and decode the complete patch together. Stack-based names and rarity now feed the selected-item label and Creative item-tab tooltips, giving an ordinary Ominous Banner its yellow name while retaining custom-name priority and enchantment rarity upgrades. Banner tooltip layers now honor the Ominous Banner's hidden-pattern setting; ordinary patterned banners still list their layers.

Baked block models now retain their declared particle material. Terrain effects fall back to that slot when there are no ordinary block faces; standing and wall banners therefore produce the model's oak-plank particles, including when no ordinary block faces exist. The breaking pass submits the banner support and animated cloth geometry with projected destroy-stage UVs, skipping dye/pattern passes so repeated cloth layers do not multiply the crack decal. This follows the pinned BannerRenderer's separate support/flag crumbling submissions.

Validation: twelve banner-related tests pass, including exported standing/wall banner models, their face-free particle material, overlay positions matching base geometry and following the cloth animation, name/rarity, hidden versus visible pattern descriptions, and placement → save/load → drop component equality. Five breaking-overlay tests pass, including block/entity UV consistency. Formatting/diff checks and client all-targets Clippy pass.

Draft pending in-game testing:

  • Select and hover an Ominous Banner in the hotbar, Creative item tabs and normal inventory: its name should be yellow without pattern-color descriptions. Compare an ordinary patterned banner, which should still list its layers.
  • Mine standing and wall banners in survival. Cracks should cover the support and cloth; hit/break particles should use oak planks rather than patterned cloth.
  • Place, save/reload, break and pick up the banner; check its name, rarity and patterns. Also check Pick Block and an ordinary patterned/custom-named banner.

No game window or native pixel comparison was run. Pattern rendering still needs the in-game check before #526 is considered fully resolved.


🔄 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/547 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/17/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/banner-item-components` --- ### 📝 Commits (6) - [`4218a49`](https://github.com/horizon-rust/horizon/commit/4218a496b2756bb9f9261bb4025b6f1a9711c582) Preserve ominous banner components through placement and drops - [`8f86098`](https://github.com/horizon-rust/horizon/commit/8f86098a02ffb3101fa35bcf1cff6a14b8bb3582) Show ominous banner names and rarity in HUD and Creative tooltips - [`86ccd5d`](https://github.com/horizon-rust/horizon/commit/86ccd5d299b2752aca6c29cafd3d88601af9bf66) Render banner breaking cracks and oak-plank particles - [`53955ab`](https://github.com/horizon-rust/horizon/commit/53955abf99941128c2c263cd046deb0a92958957) Hide ominous banner pattern descriptions in tooltips - [`3c28f55`](https://github.com/horizon-rust/horizon/commit/3c28f55ce34adc70e8d1f531fd7a4b39db06d2aa) Merge main into fix/banner-item-components - [`cf4f95f`](https://github.com/horizon-rust/horizon/commit/cf4f95f3d882b5b17cdd95bf0beec25d77b3e143) Merge remote-tracking branch 'origin/main' into HEAD ### 📊 Changes **11 files changed** (+402 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/banner.rs` (+26 -0) 📝 `crates/horizon-client/src/block_entity_render.rs` (+151 -4) 📝 `crates/horizon-client/src/breaking.rs` (+48 -0) 📝 `crates/horizon-client/src/containers.rs` (+2 -0) 📝 `crates/horizon-client/src/game.rs` (+26 -8) 📝 `crates/horizon-client/src/game/spill.rs` (+77 -6) 📝 `crates/horizon-client/src/game/stations.rs` (+5 -13) 📝 `crates/horizon-client/src/game/titles.rs` (+7 -14) 📝 `crates/horizon-client/src/item_tooltip.rs` (+42 -0) 📝 `crates/horizon-client/src/models/catalog.rs` (+7 -0) 📝 `crates/horizon-client/src/save.rs` (+11 -1) </details> ### 📄 Description Refs #526. Ominous Banners lose their item name and rarity after placement/breaking, display as ordinary white banners in the hotbar/Creative item tabs, show pattern-color descriptions despite the hidden-pattern setting, and lack breaking cracks and the correct terrain particles. Preserve the banner block entity's remaining components through placement, save/load, Pick Block and drops. Copy the fields listed in the pinned banner loot table back into the dropped item and decode the complete patch together. Stack-based names and rarity now feed the selected-item label and Creative item-tab tooltips, giving an ordinary Ominous Banner its yellow name while retaining custom-name priority and enchantment rarity upgrades. Banner tooltip layers now honor the Ominous Banner's hidden-pattern setting; ordinary patterned banners still list their layers. Baked block models now retain their declared particle material. Terrain effects fall back to that slot when there are no ordinary block faces; standing and wall banners therefore produce the model's oak-plank particles, including when no ordinary block faces exist. The breaking pass submits the banner support and animated cloth geometry with projected destroy-stage UVs, skipping dye/pattern passes so repeated cloth layers do not multiply the crack decal. This follows the pinned BannerRenderer's separate support/flag crumbling submissions. Validation: twelve banner-related tests pass, including exported standing/wall banner models, their face-free particle material, overlay positions matching base geometry and following the cloth animation, name/rarity, hidden versus visible pattern descriptions, and placement → save/load → drop component equality. Five breaking-overlay tests pass, including block/entity UV consistency. Formatting/diff checks and client all-targets Clippy pass. Draft pending in-game testing: - Select and hover an Ominous Banner in the hotbar, Creative item tabs and normal inventory: its name should be yellow without pattern-color descriptions. Compare an ordinary patterned banner, which should still list its layers. - Mine standing and wall banners in survival. Cracks should cover the support and cloth; hit/break particles should use oak planks rather than patterned cloth. - Place, save/reload, break and pick up the banner; check its name, rarity and patterns. Also check Pick Block and an ordinary patterned/custom-named banner. No game window or native pixel comparison was run. Pattern rendering still needs the in-game check before #526 is considered fully resolved. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:57:48 +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#2635
No description provided.