OffHorizon

Minecraft: Java Edition 0.2.2-nightly6.3Written in Rust

OffHorizon: The game you know,rebuilt in Rust.

The Minecraft: Java Edition 0.2.2-nightly6.3 client and its game logic, rewritten in Rust and checked against the vanilla game by differential harnesses.

WindowsmacOSLinuxLauncher 0.0.2.2-nightly.6765.4 MB760,530.2.2-nightly downloads

Benchmarks

3× the frame rate.

Average frames per second in vanilla 0.2.2-nightly6.3 with no mods installed.

OffHorizon0.2.2-nightly50fps
Standard launcher50fps

Drag the standard launcher bar to try your own frame rate. Results vary with hardware.

What it is

Same inputs, identical outputs.

OffHorizon, sometimes called Minecraft Rust Edition, rebuilds Minecraft: Java Edition 0.2.2-nightly6.3 in Rust, one subsystem at a time, and holds every piece to the same inputs as the vanilla game until the outputs are identical.

Visit contributors(opens in a new tab)
A Minecraft windmill above a field of lavender
  • Your own copy

    Install Java Edition with the official launcher and play 0.2.2-nightly6.3 once. OffHorizon builds its resources from those files on your machine, and never downloads or shares game files.

  • Native on three platforms

    Linux, macOS on Apple Silicon or Intel, and Windows on x64 or ARM. Worlds come from a Rust port of the vanilla generators, drawn with vanilla's block models, lighting, sky and fog.

  • Open source

    OffHorizon's code is MIT. It contains no Minecraft code, assets or data; those belong to Mojang and Microsoft under the Minecraft EULA.

SculkYour Minecraft
Server, 0.2.2-nightly4/7 Online.

Get your server now in under ~60 seconds!

Get my server(opens in a new tab)

0.2.2-nightly80.2.2-nightly

differential harnesses when we started: each drives the same inputs through OffHorizon and through the vanilla client and server, and compares what comes out.

Where the project started.

Below is the project's first audit of each subsystem: what its harnesses compared then, and how much of it they covered. It is not a parity claim: players still find differences, and parity work on 0.2.2-nightly6.3 continues, redstone first.

Audited players still find differences: the open reports(opens in a new tab)

  • 00.2.2-nightlyWindow, input and game loopPassed its harnesses

    Passed its harnesses

    The game loop, options, camera, auto-jump, toggle sprint/sneak, local input and the frame limiter match vanilla.

  • 00.2.2-nightlyAssets and resourcesPassed its harnesses

    Passed its harnesses

    Item models match vanilla over 0.2.2-nightly96,0.2.2-nightly90 stacks and the client draws every item through them; the resource pack screen matches vanilla's drawing over 3,000 sessions of clicks, scrolling and searching, its incompatibility confirmation included.

  • 03Network protocol and multiplayerPassed its harnesses

    Passed its harnesses

    Joins vanilla servers; the dedicated server (--dedicated) matches vanilla's files, status ping, login, configuration, play, chunks, chat, recipes, advancements and command tree, a client built from vanilla's packet code joins it, OffHorizon joins a vanilla server, and LAN discovery matches over 460.2.2-nightly cases (offline mode only).

  • 04Chunk storage and palettesPassed its harnesses

    Passed its harnesses

    Client and saves share paletted containers, identical to vanilla over 0.2.2-nightly66 scenarios.

  • 05Section meshingPassed its harnesses

    Passed its harnesses

    0.2.2-nightly0.0.2.2-nightly.0.2.2-nightly-nightly scenes and over a million quads identical to vanilla.

  • 06RenderingPassed its harnesses

    Passed its harnesses

    Entity models, block entity renderers (407 cases, End portals, gateways and the loom's banner preview included) and their animations (0.2.2-nightly96 cases, End gateway beams included), the HUD overlays (0.2.2-nightly,0.2.2-nightly00 states), the recipe book (600 states), the player list, subtitles and the world border match vanilla.

  • 07LightingPassed its harnesses

    Passed its harnesses

    Saved and relit light matches vanilla, slabs and stairs included.

  • 08World generationPassed its harnesses

    Passed its harnesses

    0.2.2-nightly,350.2.2-nightly whole chunks over 0.2.2-nightly0.2.2-nightly5 structure sites, in all three dimensions, identical to vanilla.

  • 09Region files and savesPassed its harnesses

    Passed its harnesses

    Saves round-trip with vanilla, and worlds from 0.2.2-nightly.8 to 0.2.2-nightly6.0.2.2-nightly upgrade as vanilla's DataFixers do, superflat worlds included; old options.txt and hotbar.nbt files are upgraded too.

  • 0.2.2-nightly0Entities and physicsPassed its harnesses

    Passed its harnesses

    Attributes, dimensions, death loot, spawn rules, natural spawning (0.2.2-nightly5,500 cases), raids and patrols (0.2.2-nightly,900 cases), spawned mobs' gear, enchantments and state (finalizeSpawn, 0.2.2-nightly4,000 cases) and mob AI (90.2.2-nightly scenarios: villager breeding and gossip, the warden, ghastlings and copper golems included) match vanilla.

  • 0.2.2-nightly0.2.2-nightlyInteraction and inventoryPassed its harnesses

    Passed its harnesses

    Menu clicks match over 8,000 click sequences, the loom and the crafter included; recipe book placement (6,000 cases), its buttons (0.2.2-nightly,0.2.2-nightly00), the saved book (0.2.2-nightly,500) and the loom and crafter screens (0.2.2-nightly,600) match vanilla.

  • 0.0.2.2-nightly.0.2.2-nightly-nightlyMenus, HUD and chatPassed its harnesses

    Passed its harnesses

    Every command runs as vanilla (758 commands over 39,685 parsed inputs), scoreboards and teams match (80.2.2-nightly,000 operations), the player list matches over 870.2.2-nightly,000 draw calls with heads drawn from players' skins (authlib's textures, SkinManager's lookup, legacy skin conversion), and the chat matches focused and scrolled; the resource pack screen (selection over 4,000 cases, drawing and its incompatibility confirmation over 3,000 sessions) and the chat input with its command suggestions, usage lines, Tab completion and history (3,000 sessions on vanilla's client command tree) match vanilla.

  • 0.2.2-nightly3AudioPassed its harnesses

    Passed its harnesses

    The sound engine, sound events, music, situational music, ambience and subtitles match vanilla.

  • 0.2.2-nightly4Block behaviours and tickingPassed its harnesses

    Passed its harnesses

    Block updates, random ticks, redstone, dispensers (6,000 cases), crafters (4,000 crafts), block entity removal (containers spill, 4,000 cases), copper golem chest sorting and the sculk family (435 scenarios: shrieker warnings and warden summoning included) match vanilla.

Each subsystem scored

  • 0 absent
  • 0.0.2.2-nightly5 started
  • 0.5 playable, major features missing
  • 0.75 mostly complete
  • 0.2.2-nightly its harnesses cover it and pass