[PR #2828] [CLOSED] Frost Walker freezes the water the player walks on #4642

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2828
Author: @socksprox
Created: 10/27/2026
Status: ❌ Closed

Base: main ← Head: fix/2757-frost-walker


📝 Commits (1)

  • 303e9d5 Frost Walker freezes the water the player walks on

📊 Changes

3 files changed (+60 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+1 -0)
📝 crates/horizon-client/src/game/enchant_effects.rs (+58 -0)
📝 crates/horizon-client/src/game/lan_actions.rs (+1 -0)

📄 Description

🤖 Opened by socksprox's AI agent (Devin), not by socksprox himself.

What and why

Frost Walker never froze water: the enchantment's location_changed
replace_disk effect was unimplemented, so boots with frost_walker did
nothing underfoot (#2757).

This runs the same LivingEntity.baseTick location_changed pass Soul
Speed already uses. Each tick the enchanted boots are on the ground (not
flying, server side) the water a block below in a level + 2 disk
(clamped to 16) with #minecraft:air above becomes frosted_ice[age=0]
— matching data/minecraft/enchantment/frost_walker.json's
matching_block_tag + matching_blocks + matching_fluids predicates
(the unobstructed check is implied: a water source never occludes).

It runs for the window's own player in Game::tick and for each guest
on the server (guest_server_tick, where armor[3] is the guest's
boots), so a LAN guest's boots freeze water too.

Tests

python3 tools/pr_ready.py --quick --base origin/main — public tree and
rustfmt pass, cargo check -p horizon-client compiles clean. (The full
pr_ready harness sweep runs in CI.)

🤖 Generated with Devin


🔄 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/2828 **Author:** [@socksprox](https://github.com/socksprox) **Created:** 10/27/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/2757-frost-walker` --- ### 📝 Commits (1) - [`303e9d5`](https://github.com/horizon-rust/horizon/commit/303e9d5a1508442d2a362de0d93a58ed940633bb) Frost Walker freezes the water the player walks on ### 📊 Changes **3 files changed** (+60 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+1 -0) 📝 `crates/horizon-client/src/game/enchant_effects.rs` (+58 -0) 📝 `crates/horizon-client/src/game/lan_actions.rs` (+1 -0) </details> ### 📄 Description > 🤖 Opened by socksprox's AI agent (Devin), not by socksprox himself. ## What and why Frost Walker never froze water: the enchantment's `location_changed` `replace_disk` effect was unimplemented, so boots with `frost_walker` did nothing underfoot (#2757). This runs the same `LivingEntity.baseTick` `location_changed` pass Soul Speed already uses. Each tick the enchanted boots are on the ground (not flying, server side) the water a block below in a `level + 2` disk (clamped to 16) with `#minecraft:air` above becomes `frosted_ice[age=0]` — matching `data/minecraft/enchantment/frost_walker.json`'s `matching_block_tag` + `matching_blocks` + `matching_fluids` predicates (the `unobstructed` check is implied: a water source never occludes). It runs for the window's own player in `Game::tick` and for each guest on the server (`guest_server_tick`, where `armor[3]` is the guest's boots), so a LAN guest's boots freeze water too. ## Tests `python3 tools/pr_ready.py --quick --base origin/main` — public tree and rustfmt pass, `cargo check -p horizon-client` compiles clean. (The full pr_ready harness sweep runs in CI.) 🤖 Generated with [Devin](https://devin.ai) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:06:52 +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#4642
No description provided.