[PR #4620] [MERGED] Copper golem antenna: apply the item's block_state component #5730

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4620
Author: @levzzz5154
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @levzzz5154

Base: main ← Head: parity/21-antenna


📝 Commits (1)

  • d51a2eb Copper golem antenna block takes the item's block_state component (CopperGolemRenderer.extractRenderState)

📊 Changes

1 file changed (+25 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game/mob_blocks.rs (+25 -2)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally.

Part of #3519

What and why

  • CopperGolemModel.applyBlockOnAntennaTransform: the antenna layer (BlockDecorationLayer) already existed in game/mob_blocks.rs::antenna_block_geometry (head transform, translate 0,-1.75,0, unit-cube-to-antenna matrix). The one difference left was that the item's block_state component was ignored; it is now applied property by property, as BlockItemStateProperties.apply does (unknown property or value leaves the state).

Vanilla: CopperGolemRenderer.extractRenderState, BlockItemStateProperties.apply, BlockDecorationLayer.submit.

Tests

clippy -D warnings on horizon-client; no unit test (needs the block registry); not run in game.

🤖 Generated with Claude Code


🔄 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/4620 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `parity/21-antenna` --- ### 📝 Commits (1) - [`d51a2eb`](https://github.com/horizon-rust/horizon/commit/d51a2eb26808707db93984e15a1ff03fb9213384) Copper golem antenna block takes the item's block_state component (CopperGolemRenderer.extractRenderState) ### 📊 Changes **1 file changed** (+25 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/mob_blocks.rs` (+25 -2) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally. Part of #3519 ## What and why - `CopperGolemModel.applyBlockOnAntennaTransform`: the antenna layer (`BlockDecorationLayer`) already existed in `game/mob_blocks.rs::antenna_block_geometry` (head transform, translate 0,-1.75,0, unit-cube-to-antenna matrix). The one difference left was that the item's `block_state` component was ignored; it is now applied property by property, as `BlockItemStateProperties.apply` does (unknown property or value leaves the state). Vanilla: CopperGolemRenderer.extractRenderState, BlockItemStateProperties.apply, BlockDecorationLayer.submit. ## Tests clippy -D warnings on horizon-client; no unit test (needs the block registry); not run in game. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:37 +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#5730
No description provided.