[PR #34] [MERGED] Make the Rust rewrite main #2285

Closed
opened 2026-11-02 15:54:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/34
Author: @ludovic111
Created: 10/8/2026
Status: ✅ Merged
Merged: 10/8/2026
Merged by: @ludovic111

Base: main ← Head: t3code/rewrite-minecraft-rust


📝 Commits (10+)

  • 27cbdfd Implement native fluid-state JSON decoding and encoding
  • 6d5305f Implement spring cavities and scheduled fluid ticks
  • c8d0790 Implement native vine attachment priority and placement
  • bc45763 Compute and verify native full-face occlusion masks
  • 4634364 Implement underwater magma and preserve signed-zero codec rules
  • 49f5261 Implement native blue-ice seeding and spreading
  • d99a8d0 Implement native spike geometry and discontinuous roots
  • f5a6904 Implement End podium construction and destruction requests
  • 4cc0eaf Implement replacement blobs with native Manhattan traversal
  • 11acaa1 Implement bamboo stalks, leafy caps and podzol patches

📊 Changes

1490 files changed (+282988 additions, -60 deletions)

View changed files

📝 .github/workflows/ci.yml (+352 -8)
📝 .gitignore (+2 -1)
📝 Cargo.lock (+2926 -0)
📝 Cargo.toml (+8 -1)
📝 README.md (+105 -4)
➕ benchmarks/rust-active-effect-tick-2026-10-07/scoped-parity.json (+299 -0)
➕ benchmarks/rust-active-effects-2026-10-07/scoped-parity.json (+297 -0)
➕ benchmarks/rust-anchor-2026-10-06/scoped-parity.json (+118 -0)
➕ benchmarks/rust-attribute-health-2026-10-07/scoped-parity.json (+248 -0)
➕ benchmarks/rust-attribute-map-queries-2026-10-07/scoped-parity.json (+313 -0)
➕ benchmarks/rust-attribute-memory-2026-10-07/after.json (+76 -0)
➕ benchmarks/rust-attribute-memory-2026-10-07/before.json (+76 -0)
➕ benchmarks/rust-attribute-memory-2026-10-07/entity-regression.json (+247 -0)
➕ benchmarks/rust-attribute-memory-2026-10-07/health-regression.json (+248 -0)
➕ benchmarks/rust-attribute-updates-2026-10-07/scoped-parity.json (+303 -0)
➕ benchmarks/rust-attributes-2026-10-07/scoped-parity.json (+242 -0)
➕ benchmarks/rust-bamboo-2026-10-06/scoped-parity.json (+214 -0)
➕ benchmarks/rust-basic-feature-2026-10-06/scoped-parity.json (+153 -0)
➕ benchmarks/rust-biome-chunk-2026-10-06/scoped-parity.json (+131 -0)
➕ benchmarks/rust-biome-generation-2026-10-06/scoped-parity.json (+149 -0)

...and 80 more files

📄 Description

Brings the Rust rewrite onto main, so main is the playable Rust client instead of the Java pack track. It has been on t3code/rewrite-minecraft-rust only. Already contains everything on main, so this merges cleanly.

What lands

  • Crates horizon-core, horizon-world, horizon-assets and horizon-client: the playable native client with overworld and Nether generation, lighting, rendering, mining, crafting, containers, mobs, block behaviour, sounds and Anvil saves.
  • Java parity: 55% in the README. Fourteen subsystems are scored against the code; tests/test_parity.py keeps the number in sync with the table.
  • Scope: ludodesktop only (Ubuntu 26.04, i7-13700KF, RTX 4080, GNOME Wayland). macOS, the M2 Mac and Windows are out of scope.
  • Fresh-checkout fix: tools/prepare_native_client.py now runs worldgen after the data generator and exports entity-types.json. Before this, the client couldn't start on a fresh checkout.

Verified on ludodesktop

  • cargo test --workspace --release --lib --bins --tests passes.
  • python3 -m unittest discover -s tests passes (152 tests).
  • The client ran 600 frames in a fresh seeded world: 510 chunks generated, 11,928 sections meshed, no errors.
  • Caveat: these runs rendered on llvmpipe (CPU). A pending NVIDIA driver upgrade has to be finished by a reboot before the RTX 4080 can be tested.

Known issue (predates this PR)

  • The scene_collision_probe and scene_motion_probe examples don't compile: they use world::TestWorld, which commit 3777c90 removed.

🤖 Generated with Claude Code


🔄 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/34 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/8/2026 **Status:** ✅ Merged **Merged:** 10/8/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `t3code/rewrite-minecraft-rust` --- ### 📝 Commits (10+) - [`27cbdfd`](https://github.com/horizon-rust/horizon/commit/27cbdfdbdec5bef1aeba6edbfaae5ea0d862ef78) Implement native fluid-state JSON decoding and encoding - [`6d5305f`](https://github.com/horizon-rust/horizon/commit/6d5305f987e02d1f272c5b1a47500be50047a820) Implement spring cavities and scheduled fluid ticks - [`c8d0790`](https://github.com/horizon-rust/horizon/commit/c8d07903ef2a2d25dcdfe7218351f1d1a1703f86) Implement native vine attachment priority and placement - [`bc45763`](https://github.com/horizon-rust/horizon/commit/bc45763047c5fe63930ff8dd8356fbcd47c75c0e) Compute and verify native full-face occlusion masks - [`4634364`](https://github.com/horizon-rust/horizon/commit/4634364ed7a6f3ecf5738f5b9b430d21f02a0ba8) Implement underwater magma and preserve signed-zero codec rules - [`49f5261`](https://github.com/horizon-rust/horizon/commit/49f526116b8ab1103a7f783f6198120e1b0c2aca) Implement native blue-ice seeding and spreading - [`d99a8d0`](https://github.com/horizon-rust/horizon/commit/d99a8d00bba603e25db8806b887311617399c18d) Implement native spike geometry and discontinuous roots - [`f5a6904`](https://github.com/horizon-rust/horizon/commit/f5a6904494ecf010d0e0179cd24b756d59ea5432) Implement End podium construction and destruction requests - [`4cc0eaf`](https://github.com/horizon-rust/horizon/commit/4cc0eaf6da6421ce1da344b9f699eef594bf9182) Implement replacement blobs with native Manhattan traversal - [`11acaa1`](https://github.com/horizon-rust/horizon/commit/11acaa1617f840b8484bda70737083198d7fc037) Implement bamboo stalks, leafy caps and podzol patches ### 📊 Changes **1490 files changed** (+282988 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+352 -8) 📝 `.gitignore` (+2 -1) 📝 `Cargo.lock` (+2926 -0) 📝 `Cargo.toml` (+8 -1) 📝 `README.md` (+105 -4) ➕ `benchmarks/rust-active-effect-tick-2026-10-07/scoped-parity.json` (+299 -0) ➕ `benchmarks/rust-active-effects-2026-10-07/scoped-parity.json` (+297 -0) ➕ `benchmarks/rust-anchor-2026-10-06/scoped-parity.json` (+118 -0) ➕ `benchmarks/rust-attribute-health-2026-10-07/scoped-parity.json` (+248 -0) ➕ `benchmarks/rust-attribute-map-queries-2026-10-07/scoped-parity.json` (+313 -0) ➕ `benchmarks/rust-attribute-memory-2026-10-07/after.json` (+76 -0) ➕ `benchmarks/rust-attribute-memory-2026-10-07/before.json` (+76 -0) ➕ `benchmarks/rust-attribute-memory-2026-10-07/entity-regression.json` (+247 -0) ➕ `benchmarks/rust-attribute-memory-2026-10-07/health-regression.json` (+248 -0) ➕ `benchmarks/rust-attribute-updates-2026-10-07/scoped-parity.json` (+303 -0) ➕ `benchmarks/rust-attributes-2026-10-07/scoped-parity.json` (+242 -0) ➕ `benchmarks/rust-bamboo-2026-10-06/scoped-parity.json` (+214 -0) ➕ `benchmarks/rust-basic-feature-2026-10-06/scoped-parity.json` (+153 -0) ➕ `benchmarks/rust-biome-chunk-2026-10-06/scoped-parity.json` (+131 -0) ➕ `benchmarks/rust-biome-generation-2026-10-06/scoped-parity.json` (+149 -0) _...and 80 more files_ </details> ### 📄 Description Brings the Rust rewrite onto `main`, so `main` is the playable Rust client instead of the Java pack track. It has been on `t3code/rewrite-minecraft-rust` only. Already contains everything on `main`, so this merges cleanly. ## What lands - Crates `horizon-core`, `horizon-world`, `horizon-assets` and `horizon-client`: the playable native client with overworld and Nether generation, lighting, rendering, mining, crafting, containers, mobs, block behaviour, sounds and Anvil saves. - **Java parity: 55%** in the README. Fourteen subsystems are scored against the code; `tests/test_parity.py` keeps the number in sync with the table. - **Scope:** ludodesktop only (Ubuntu 26.04, i7-13700KF, RTX 4080, GNOME Wayland). macOS, the M2 Mac and Windows are out of scope. - **Fresh-checkout fix:** `tools/prepare_native_client.py` now runs worldgen after the data generator and exports `entity-types.json`. Before this, the client couldn't start on a fresh checkout. ## Verified on ludodesktop - `cargo test --workspace --release --lib --bins --tests` passes. - `python3 -m unittest discover -s tests` passes (152 tests). - The client ran 600 frames in a fresh seeded world: 510 chunks generated, 11,928 sections meshed, no errors. - Caveat: these runs rendered on llvmpipe (CPU). A pending NVIDIA driver upgrade has to be finished by a reboot before the RTX 4080 can be tested. ## Known issue (predates this PR) - The `scene_collision_probe` and `scene_motion_probe` examples don't compile: they use `world::TestWorld`, which commit 3777c90 removed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:54:37 +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#2285
No description provided.