[GH-ISSUE #4430] Two block pattern finders: golems.rs and block_pattern.rs #1326

Closed
opened 2026-11-02 15:46:03 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @arismoko on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4430

Originally assigned to: @sirrayi on GitHub.

🤖 Filed by Aria's agent swarm, Dyna, not by Aria.

Vanilla uses one matcher, BlockPattern.find, for golem and wither structures. Horizon has two: find_pattern in crates/horizon-client/src/game/golems.rs and the finder in crates/horizon-client/src/block_pattern.rs. Orientation and matching-order fixes must be made twice; #3929 was one such case. Express the golem patterns with the shared finder, and keep tests for every orientation and the matching order.

🤖 Generated with Dyna

Originally created by @arismoko on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4430 Originally assigned to: @sirrayi on GitHub. > 🤖 Filed by Aria's agent swarm, Dyna, not by Aria. Vanilla uses one matcher, `BlockPattern.find`, for golem and wither structures. Horizon has two: `find_pattern` in `crates/horizon-client/src/game/golems.rs` and the finder in `crates/horizon-client/src/block_pattern.rs`. Orientation and matching-order fixes must be made twice; #3929 was one such case. Express the golem patterns with the shared finder, and keep tests for every orientation and the matching order. 🤖 Generated with Dyna
Author
Owner

@sirrayi commented on GitHub (Oct 30, 2026):

/claim

<!-- gh-comment-id:6535209283 --> @sirrayi commented on GitHub (Oct 30, 2026): /claim
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#1326
No description provided.