[PR #2745] [MERGED] Add isolated LAN checks for fluid currents and bubble columns #4582

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2745
Author: @levzzz5154
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111

Base: main ← Head: fix/flowing-water-mobs


📝 Commits (10+)

  • 5678030 Carry mobs up and down with a bubble column
  • 9a84148 Merge remote-tracking branch 'upstream/main' into fix/bubble-column-entities
  • 0cac3a9 Remove the duplicate rabbit arm in entity_nbt
  • 786c248 Carry mobs along with a fluid current
  • cd5216e Merge remote-tracking branch 'upstream/main' into fix/flowing-water-mobs
  • 4a9bb0c Format the branch with the CI's rustfmt
  • 6f785d1 Merge main into bubble-column-entities
  • 75c149a Leave the bubble column push to main's
  • 4a4cad6 Merge main into flowing-water-mobs
  • b4de9dc Leave the current's push to main's

📊 Changes

1 file changed (+76 additions, -1 deletions)

View changed files

📝 tools/lan_e2e.py (+76 -1)

📄 Description

🤖 Opened by levzzz5154's AI agent (OpenAI Codex), not by levzzz5154 himself.

Add isolated LAN regression checks for fluid currents and bubble columns. Main already contains the gameplay behavior; this PR now changes only the integration driver.

Each check identifies its pigs by unique tags rather than a distance cutoff. The pigs have zero movement speed so AI wandering cannot obscure the fluid effect. Enclosed arenas contain the water, and finally cleanup kills the fixture pigs, clears water and walls, and restores the floor even after an assertion fails. The bubble-column check from #2723 is consolidated here.

Vanilla reference: Entity.updateFluidInteraction and BubbleColumnBlock.entityInside.

Validation on current main plus this PR, using real games in fresh scratch profiles:

  • Server thread: flow-push PASS (2.66 vs 0.0), bubble-column PASS (1.549 vs 0.615), then digging and frames PASS.
  • Legacy --in-frame: flow-push PASS (2.52 vs 0.0), bubble-column PASS (1.417 vs 0.763), then digging and frames PASS.
  • Command: python3 tools/lan_e2e.py --bin-dir <fast-build> --check flow-push --check bubble-column --check digging --check frames, repeated with --in-frame.

pr_ready (tools/pr_ready.py --quick --base hr/main on cachyos-x8664, against hr/main at d203ca04b, 33 s)

Check Result
Scope ✅ 1 files, +75 −2
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 408 passed (33 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ 15 affected, to run in CI (--quick): forced_end, lan_integration, remote_fireball, remote_fireworks, save_roundtrip, server_dimension_players, server_dragon, server_knockback, server_ops_feedback, server_player_sculk, server_resource_pack, spawn_loot and 3 more
Label skip-release

🤖 Generated with OpenAI Codex.


🔄 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/2745 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/flowing-water-mobs` --- ### 📝 Commits (10+) - [`5678030`](https://github.com/horizon-rust/horizon/commit/5678030da2aaa6f71161d762355fcceaa1532910) Carry mobs up and down with a bubble column - [`9a84148`](https://github.com/horizon-rust/horizon/commit/9a84148376b087fedfcb100755b4b9ad45905d72) Merge remote-tracking branch 'upstream/main' into fix/bubble-column-entities - [`0cac3a9`](https://github.com/horizon-rust/horizon/commit/0cac3a91534921100d4e74a50fc0e68ea6546223) Remove the duplicate rabbit arm in entity_nbt - [`786c248`](https://github.com/horizon-rust/horizon/commit/786c2482a11e567dcb77181ff0a4bc4c19db38dd) Carry mobs along with a fluid current - [`cd5216e`](https://github.com/horizon-rust/horizon/commit/cd5216e012510fcdc8950bf4df025bd24c133e6e) Merge remote-tracking branch 'upstream/main' into fix/flowing-water-mobs - [`4a9bb0c`](https://github.com/horizon-rust/horizon/commit/4a9bb0ce17f8dd144c3b4f0f3d50c96f9d9a365d) Format the branch with the CI's rustfmt - [`6f785d1`](https://github.com/horizon-rust/horizon/commit/6f785d1a28ed3c7559eb31b56684d22262bd425f) Merge main into bubble-column-entities - [`75c149a`](https://github.com/horizon-rust/horizon/commit/75c149afde8980d3fac2f6043b391705ef1cc640) Leave the bubble column push to main's - [`4a4cad6`](https://github.com/horizon-rust/horizon/commit/4a4cad68642df382b8dff100708ab9fa65fc2a75) Merge main into flowing-water-mobs - [`b4de9dc`](https://github.com/horizon-rust/horizon/commit/b4de9dc23c5ab7cf152f33d8c22ab69a0c5647c3) Leave the current's push to main's ### 📊 Changes **1 file changed** (+76 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/lan_e2e.py` (+76 -1) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (OpenAI Codex), not by levzzz5154 himself. Add isolated LAN regression checks for fluid currents and bubble columns. Main already contains the gameplay behavior; this PR now changes only the integration driver. Each check identifies its pigs by unique tags rather than a distance cutoff. The pigs have zero movement speed so AI wandering cannot obscure the fluid effect. Enclosed arenas contain the water, and `finally` cleanup kills the fixture pigs, clears water and walls, and restores the floor even after an assertion fails. The bubble-column check from #2723 is consolidated here. Vanilla reference: `Entity.updateFluidInteraction` and `BubbleColumnBlock.entityInside`. Validation on current main plus this PR, using real games in fresh scratch profiles: - Server thread: `flow-push` PASS (2.66 vs 0.0), `bubble-column` PASS (1.549 vs 0.615), then `digging` and `frames` PASS. - Legacy `--in-frame`: `flow-push` PASS (2.52 vs 0.0), `bubble-column` PASS (1.417 vs 0.763), then `digging` and `frames` PASS. - Command: `python3 tools/lan_e2e.py --bin-dir <fast-build> --check flow-push --check bubble-column --check digging --check frames`, repeated with `--in-frame`. **pr_ready** (`tools/pr_ready.py --quick --base hr/main` on cachyos-x8664, against hr/main at d203ca04b, 33 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +75 −2 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 408 passed (33 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ 15 affected, to run in CI (--quick): forced_end, lan_integration, remote_fireball, remote_fireworks, save_roundtrip, server_dimension_players, server_dragon, server_knockback, server_ops_feedback, server_player_sculk, server_resource_pack, spawn_loot and 3 more | | Label | `skip-release` | 🤖 Generated with [OpenAI Codex](https://openai.com/codex/). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:18:14 +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#4582
No description provided.