Minecraft: Java Edition rewritten in Rust, checked against vanilla with differential harnesses. Sunrise: Forge and Fabric mods, older versions, and the launcher for them.
[!IMPORTANT] Discord: join Sunrise: https://discord.gg/eswQcHfRKC.
Website · Download · Docs · Roadmap · Contributing · X · Instagram · YouTube · TikTok
Minecraft: Java Edition 26.3, rewritten in Rust. Your worlds, the same rules and the same terrain as the Java game, checked against it by hundreds of differential tests, in one native program with no Java. Free, public source and unofficial: you play it with your own copy of Java Edition.
Everything below is in the current release.
sunrise-server on a VPS (below).![]() | ![]() |
![]() | ![]() |
Nightly 2026-11-05 on a Mac mini (Apple M4 Pro, Metal): vanilla's textures, no mods or shader packs, render distance 32 with distant terrain on.
Sunrise draws more frames per second than Java Edition, and loads faster, on the same machine, world and path. tools/perf_bench.py runs each game in turn, from a fresh world (seed 1234), waiting for the terrain and then flying it over a village, a forest, an ocean and a mountain. Measured on 2026-10-29/30 on an idle Windows 11 machine (Ryzen 7 9800X3D, RTX 5080), Sunrise v0.2.97 as the launcher installs it, 1280x720 in a window, VSync off, three games per figure. Frames per second, mean of the four scenes, with the slowest 1% of frames in brackets:
| Render distance | Sunrise v0.2.97 | Vanilla 26.3 | Vanilla + mods |
|---|---|---|---|
| 8 chunks | 3,289 (1,327) | 2,437 (640) | 2,375 (709) |
| 16 chunks | 2,074 (598) | 1,661 (375) | 1,586 (432) |
| 32 chunks | 1,207 (333) | 1,031 (176) | 879 (264) |
"Vanilla + mods" is Sodium, Lithium, FerriteCore and ImmediatelyFast. Sunrise reaches the title screen in 2.9–3.2 s against vanilla's 7.5–7.7 s (the modded client's 10.8–11.1 s), loads a scene's chunks 2.9–3.8 times faster, and playing holds a steady working set of 1.1–1.7 GB against 1.9–2.9 GB. Every scene with its confidence interval and the run's load log: the 2026-10-29 reports. Method, and how to measure your own machine: docs/benchmark.md. playsunrise.net/benchmarks puts these runs beside a 2016 laptop, a Mac mini and a gaming desktop.
Get the Sunrise launcher from playsunrise.net/download, or from GitHub: it has its own repository, sunrise-org/sunrise-launcher, whose releases are also published here as launcher@ releases (1.0.0 came from here):
| Platform | File | Needs |
|---|---|---|
| Windows x64 | sunrise-launcher-setup.exe | Windows 10 or 11, a GPU with Vulkan or DirectX 12 |
| macOS, Apple Silicon | sunrise-launcher-macos-arm64.dmg | macOS 12 or later; signed ad hoc, not notarized |
| Linux x86-64 | sunrise-launcher-linux-x86_64.AppImage or .tar.gz | a glibc distribution, X11 or Wayland, a GPU with Vulkan or OpenGL 3.3 |
You also need a Microsoft account that owns Minecraft: Java Edition. You sign in with it in the launcher, which plays only with an account that owns the game (why). Sunrise contains no Minecraft code or assets: an existing install (official launcher, Prism, MultiMC...) is reused, and without one the launcher downloads 26.3 from Mojang
Item frames and paintings keep no rotation of their own on the client (move packets, ride snap, spectator camera)
https://github.com/sunrise-org/sunrise/issues/8028
Labels: parity, needs-repro
Thanks for helping. Sunrise is Minecraft: Java Edition 26.3 rewritten in Rust, and the one rule that shapes everything is that it plays exactly like vanilla. This page is the short version of how we work; questions are welcome on Discord.
This repository holds the game, server and mod tools, plus the tests and docs that build, check and release them.
The launcher lives in sunrise-org/sunrise-launcher, and the website
(playsunrise.net) is built in sunrise-org/sunny from this repository's README, docs/api/, modding book and roadmap. Anything
else (videos, Discord and other community material) lives elsewhere.
Where to start: playsunrise.net/hub. It shows what is being done now and next
(ROADMAP.md in the repository), the work board, good first tasks, and the forms to report a bug or
suggest something. A pull request for a roadmap item carries its roadmap:<id> label; ideas go to the suggestion
queue (the hub, or /suggest on Discord) rather than to issues, which are for bugs.
Mod-related pull requests come here too. Sunrise is where the mod API is built: the mod API, native hooks and
events for mods, native mods, content mods (.smod), mixins, cargo sunrise-mod, sunrise-mods, mod
builds and the registry, and their docs (modding book, native mods). A change to the mod
API follows its clean-break rules (AGENTS.md).
When adding a native hook, keep its declaration under crates/sunrise-mod-vocab/src/hooks/ and wire the engine
function named by its target. Vocabulary generation does not read engine bodies, so it cannot tell whether
those targets fire the hooks. verify-static runs bash tools/ci/check_hook_wiring.sh separately, without
changing any sources.
The check follows the declared Rust module to the target body, including conditional files and inline modules.
It checks non-test cfg branches using supported build targets' Rust cfgs, including cfg! conditions, and
does not count calls in closures that are never invoked. When a hook uses a client-library or world bridge,
the bridge must invoke the slot and every reachable installer call must bind a callback that reaches the
dispatcher. For slots upstream of a catalog target, the gameplay entry point must also call the bridge.
A native render replacement slot is intentionally empty, so the check starts at the installed renderer callback.
cargo run -p xtask -- mod-api fills a new game hook's placeholder during authoring; a placeholder left in the
checkout fails the wiring check.
Prerequisites: Rust (stable), Python 3.11+, JDK 25, git 2.38 or newer, and on Linux the ALSA and udev headers
(libasound2-dev libudev-dev).
Resources: Client preparation reads your own copy of Minecraft 26.3, as in Build from source.
Only the launcher downloads client files, for a signed-in account that owns the game. For a dedicated server,
sunrise-prepare --server and sunrise-server init may download Mojang's free server.jar and Java runtime from
Mojang's URLs, with SHA-1 checks, on the server owner's machine or in CI. Never commit, publish or ship Mojang's
files or data derived from them.
Commands:
cargo run --release -p sunrise-prepare -- --prepare --server-jar ~/Downloads/server.jar
cargo run --release -p sunrise-game
Launcher: its own repository, sunrise-org/sunrise-launcher (cargo run there; on NixOS, nix-shell first).
Wherever vanilla has a feature, vanilla is the specification, down to the order of random calls. Parity means
Sunrise behaves and looks bit-exactly like Minecraft: Java Edition 26.3 on the same machine: the same inputs give the
same outputs, every float, random draw and pixel. A harness checks it: a tools/test_*_parity.py script that
runs a small Java oracle against the real game and a Rust probe against Sunrise, and compares their outputs exactly.
A harness compares the values that decide behaviour and the picture: floats, random draws, entity and block state,
model and mesh data, colours, draw lists, HUD draw calls and sound events, and the images the CPU builds (atlases,
mipmaps). The screen picture is compared between builds, pixel for pixel (tools/parity.py frame_identity), so a
change can prove it leaves it alone. Comparing it with vanilla's needs both games offscreen on the same graphics API
and driver; never a tolerance on a screenshot.
Out of scope: what no run repeats, such as timing, thread scheduling, frame pacing and the mixed audio (the sound
events are in scope).
A measured gap that isn't fixed yet, such as a Math result next to a rounding tie where HotSpot's own routine
misrounds, is listed in #2295 until it is. So are the harnesses that still compare with a tolerance: they lose it area
by area. A pull request never adds one, and isn't held back by one it didn't add.
tools/rea_vanilla.py queries the pinned game bytecode:
python3 tools/rea_vanilla.py method net.minecraft.world.level.block.DispenserBlock dispenseFrom.
Java is the reference for behaviour, never for structure or speed: code that looks like Java proves nothing, a
bit-exact harness does. Say in your pull request which vanilla classes and methods you read.