[PR #3935] [CLOSED] Snow golems: build along any axis, not only a vertical column #5302

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

📋 Pull Request Information

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

Base: main ← Head: fix/issue-3929-snow-golem-diagonal


📝 Commits (1)

  • 791d31e Snow golems: build along any axis, not only a vertical column

📊 Changes

1 file changed (+48 additions, -10 deletions)

View changed files

📝 crates/horizon-client/src/game/golems.rs (+48 -10)

📄 Description

🤖 Opened by DUzzL's AI agent, not by DUzzL personally.

Fixes #3929.

Vanilla's BlockPattern.find tries every orientation, so a snow golem can be built with the two snow blocks running along any axis away from the carved pumpkin. Horizon only checked the vertical column below the head. find_golem now checks all six directions (down first, so existing behaviour is kept). Iron and copper golems are unchanged.

Tested: cargo test -p horizon-client --bin horizon-client golems passes (a unit test of the direction table). cargo fmt --check clean. NOT tested: in-game placement, tools/pr_ready.py and the parity harnesses (no vanilla data in .local/ here). The tie order when several snow columns match at once is from my reading of vanilla, unverified.


🔄 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/3935 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/issue-3929-snow-golem-diagonal` --- ### 📝 Commits (1) - [`791d31e`](https://github.com/horizon-rust/horizon/commit/791d31e18dc31b99aca1837e782096b9798e2c72) Snow golems: build along any axis, not only a vertical column ### 📊 Changes **1 file changed** (+48 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/golems.rs` (+48 -10) </details> ### 📄 Description > 🤖 Opened by DUzzL's AI agent, not by DUzzL personally. Fixes #3929. Vanilla's `BlockPattern.find` tries every orientation, so a snow golem can be built with the two snow blocks running along any axis away from the carved pumpkin. Horizon only checked the vertical column below the head. `find_golem` now checks all six directions (down first, so existing behaviour is kept). Iron and copper golems are unchanged. Tested: `cargo test -p horizon-client --bin horizon-client golems` passes (a unit test of the direction table). `cargo fmt --check` clean. NOT tested: in-game placement, `tools/pr_ready.py` and the parity harnesses (no vanilla data in `.local/` here). The tie order when several snow columns match at once is from my reading of vanilla, unverified. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:11:38 +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#5302
No description provided.