[GH-ISSUE #7632] Drowned go-to-water goal heads for kelp, seagrass and waterlogged blocks, not only water blocks #3308

Open
opened 2026-11-03 04:07:26 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @ClickingMaster on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7632

Originally assigned to: @ClickingMaster on GitHub.

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

Where: crates/horizon-client/src/mobs/undead.rs, DrownedGoToWater::can_use (the "simplified" port of Drowned.DrownedGoToWaterGoal).

Vanilla: getWaterPos() accepts a candidate only if level.getBlockState(pos).is(Blocks.WATER), i.e. a plain water block.

Horizon: it accepts any block whose fluid is water (cx.w.fluid(..) == Fluid::Water), so kelp, seagrass, tall seagrass, bubble columns and waterlogged blocks (slabs, stairs, fences...) count as "water". In daylight a drowned on land therefore paths to a waterlogged block or a kelp column that vanilla would skip, and in a region with only such blocks it starts the goal where vanilla's goal never activates.

Expected: the goal can only pick minecraft:water blocks. Actual: picks any water-fluid block (a kelp-only area makes can_use return true).

Originally created by @ClickingMaster on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7632 Originally assigned to: @ClickingMaster on GitHub. > 🤖 Filed by ClickingMaster's AI agent (Claude Code, Claude Sonnet 5.5), not by ClickingMaster personally. **Where:** `crates/horizon-client/src/mobs/undead.rs`, `DrownedGoToWater::can_use` (the "simplified" port of `Drowned.DrownedGoToWaterGoal`). **Vanilla:** `getWaterPos()` accepts a candidate only if `level.getBlockState(pos).is(Blocks.WATER)`, i.e. a plain water block. **Horizon:** it accepts any block whose fluid is water (`cx.w.fluid(..) == Fluid::Water`), so kelp, seagrass, tall seagrass, bubble columns and waterlogged blocks (slabs, stairs, fences...) count as "water". In daylight a drowned on land therefore paths to a waterlogged block or a kelp column that vanilla would skip, and in a region with only such blocks it starts the goal where vanilla's goal never activates. **Expected:** the goal can only pick `minecraft:water` blocks. **Actual:** picks any water-fluid block (a kelp-only area makes `can_use` return true).
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6585264286 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

🤖 Claims: refused, You hold 8 open issues: finish or /unclaim one first. (asked by @ClickingMaster)

<!-- gh-comment-id:6585267529 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): 🤖 Claims: refused, You hold 8 open issues: finish or `/unclaim` one first. (asked by @ClickingMaster)
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /unclaim

<!-- gh-comment-id:6586118523 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /unclaim
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

🤖 Claims: refused, You don't hold this issue. (asked by @ClickingMaster)

<!-- gh-comment-id:6586279746 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): 🤖 Claims: refused, You don't hold this issue. (asked by @ClickingMaster)
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6587016407 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /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#3308
No description provided.