A Riven world depends only on its seed. It doesn't depend on which cube loads first, how many threads the server runs, or what the server happens to have cached. Ask for the same place in any order, on any machine, and you get the same blocks.
We're Orthrus Research, and that rule sits underneath everything we build for Minecraft 1.12.2. Riven, our terrain generator, makes the promise. Cubature, our cubic world engine, depends on it to build the world in parallel and ahead of the players. Distant Horizons depends on it to draw a horizon that matches the ground. This guide explains how those pieces fit together, why we chose the rule, what it has cost us, and how we check that it holds. Each part has a longer text of its own, linked as we go. To see why the rule matters, start with how big these worlds are.
Tall worlds, built in cubes
A Riven world runs from Y-1664 up to Y383, eight times the height of a vanilla world.1 The surface and its crust come first, down to Y-512. Below that lies the Beneath, and below the Beneath a realm with a Nether's heat and rock, reaching the world's floor at Y-1664. There are no barrier layers between them: you can, in principle, dig from a beach to the bottom of the world.2
Vanilla Minecraft can't hold a world like that. It loads, saves and lights the world one chunk at a time, and a chunk is a whole column, 16 blocks square and as tall as the world. At Riven's height, every column would be 2,048 blocks tall, most of it far from anyone. Cubature, our fork of CubicChunks, cuts the world into 16-block cubes instead and loads only the cubes near players. Our earlier text Cubes and columns covers what that changes for code that reads and writes blocks.
Four projects share the work, and each owns one thing. Riven decides what is in the world: every block, every biome, every cave. Cubature decides when each cube is generated, lit, saved and sent to players. Distant Horizons draws the terrain beyond your render distance, and it stays the official release, byte for byte. Cleanroom, the modern loader underneath, runs all of it unchanged.3 We drew those lines early. When something goes wrong, the line usually tells us which project to open. Riven sits at the top of that stack, and it makes one promise.
The rule: same seed, any order
Everything Riven places is a pure function of three things: the world's seed, the definitions the world was created with, and its layout scale.4 A pure function always gives the same answer for the same inputs, and nothing else feeds in. Request order, thread count, cache state and what the cache threw away must not change any result.
The seed part is easy; every Minecraft generator is seeded. The hard part is "any order". A server never builds a world tidily from one corner outward. It builds where players stand, where they're heading, and, with Distant Horizons, everywhere they can see. Two players walking toward each other from opposite ends of a continent ask for its rivers from opposite sides. If the answer could depend on who asked first, we'd have to generate the whole world in one fixed order on one thread.
So we treat a Riven world as a map rather than a diary. A diary records what happened in the order it happened. A map has every point already decided, and visiting one doesn't change another. Riven keeps no order-dependent state and starts no threads of its own.5 Its caches follow the same rule. When one throws an entry away and rebuilds it later, the rebuilt entry equals the old one, and code compares entries by what they describe, never by which copy it holds.4
We don't take this on faith. Before any change reaches our repositories, a check renders our reference worlds twice: once in order, and once in reverse on a different number of threads. It compares a fingerprint (a SHA-256 digest) of every layer and every feature decision. One differing decision anywhere, and the push is refused.5 A change that is meant to alter terrain updates those fingerprints in the same commit and says why.
Once the world can't tell what order you asked in, the engine can ask in any order it likes.
What the rule lets us do
The rule pays off three ways, one for each kind of work Cubature takes on for the world. Underneath all three is the one rule we hold Cubature to: timing, never content. Cubature may change when a cube is ready. It never changes what the cube contains.
In parallel. A world generator that is a pure function of seed and position can tell Cubature so. Cubature then generates its cubes on a small pool of worker threads, away from the server thread. The server thread installs the finished cubes within a fixed budget each tick, so a burst of new ground can't stall the game.6 Riven's own heavy work, such as tracing a continent's drainage from its headwaters to the sea, runs on a second bounded pool that Cubature lends it for each world.7
Ahead of you. Because a region's plans don't depend on who asks for them, Cubature can prepare them before anyone arrives: the drainage, the coastline and the sediment of the regions a player will reach soonest.8 When a player teleports into ground that doesn't exist yet, Cubature holds them where they are for a moment while the workers build it, then lets them arrive.9
Out to the horizon. Distant Horizons draws far terrain as coarse tiles. In a Riven world, Cubature samples those tiles itself, and we call them previews. They come from the same terrain model and the same column engine that build the cubes under your feet, sampled at the tile's resolution.10 The horizon is a lower-resolution photograph of the place you're walking toward, not a painting of somewhere like it.
A photograph at lower resolution loses detail. Distant Horizons builds each coarse cell from four finer ones and keeps the tallest block it finds, so a single tree can lift a distant cell above the ground around it. Heights are otherwise close: when a medium-distance tile arrives, its ground is within 3 blocks of the real thing in 95% of cells.11 We've measured the merge's effect and planned a fix; it isn't built yet.
That last payoff didn't come for free. The first time we measured it, the horizon cost us the ground.
A worked example: the horizon cost us the ground
When we first measured previews in a Riven world, on October 30, the distant view made the near one worse. We use a fixed test. A server and a client run on our workstation, a fresh world is created, and a player joins and flies a set route for 60 seconds at 16 blocks a second. With previews on, the player's native view (the 15,625 cubes Cubature loads around them at a view distance of 12) took 21% longer to fill at join. During the flight the server's median tick tripled. Between 46% and 57% of the most detailed previews arrived after the player had already flown into the area they covered, where Cubature's own cubes take over.11 That's wasted work, and the most expensive kind.
The obvious suspect was the preview sampler, and it wasn't guilty. Once an area's plans existed, a coarse preview column cost a fraction of a millisecond. The first tile into a new area, though, took 11.8 seconds, of which only 2.6 seconds was work. The rest was waiting for that continent's drainage network, the plan of where its rivers run. That plan was being built on Java's shared thread pool, and every other task that needed it parked and waited. Over the run, threads spent 972 seconds parked on those plans, and the pool grew to 63 threads to replace the ones stuck waiting.11
We fixed it in the order the evidence pointed:
- Plans before the scan. Riven now builds a continent's river plans before the scan that reads them, so no task waits on another's plan. In an offline test with 12 scattered players, time spent waiting fell from 305 seconds to 12.12
- A bounded pool of our own. Riven's parallel work moved off Java's shared pool onto the pool Cubature lends each world, sized from the machine's core count.7
- Native view first. Cubature now starts no preview while more than one face of the native view (625 cubes at distance 12) is still waiting to be built or sent.13
The third fix taught us something about tall worlds. A cubic view is a box around the player. At the join point of our test world, a player arriving at Y320 has a view from Y128 to Y528, over ground at Y77 to Y121. The box holds nothing but sky. "Wait for the native view" meant "draw no horizon", and for about 16 seconds the player looked down into a pit. The rule now waits only for a view that can show its ground.14
None of these fixes changed a block. Each one changed when work happened, the fingerprints held, and so we could make them quickly and without second-guessing the world. The work isn't finished: with previews running, each tile in flight still adds about 4 milliseconds to the server's tick, and the next steps in our delivery plan aim at that.11 The rule itself had a price too.
What it cost us
The first cost is that every terrain version needs a fresh world. Changing a definition, the order in which stages run, or even how ties are broken changes what a seed produces, so no version yet promises compatibility with existing worlds.1 Riven is at terrain-v132 as we write.15 That is the price of a research preview, and it's why there are no releases yet.
The second cost is the wider worldgen ecosystem. Riven decides every block in its worlds, and no other mod's world generator runs there.1 A generator that places its own trees or ores after Riven would make the distant view wrong, since Distant Horizons can only draw what one model decides. Packs bind Riven's materials to their own blocks through mapping layers instead, resolved once when a world is created.
The third cost is features we liked. We removed Biomes O' Plenty's generators and soils and grew Riven's own plants, trees and creatures in their place.16 We also removed a set of "wonders", such as pillar forests, hoodoos and tower karst, because they didn't fit the world we wanted and complicated everything around them.17
Finally, we carry no compatibility code. When we decide a stage was wrong, we change it rather than keep the old one alive beside the new, and the world changes with it. We'd rather hand you a fresh world that's right than an old one we've decided was wrong.
A rule is only as good as the checking behind it.
How we hold ourselves to it
We try to make every claim about speed a measurement. Our captures run a real Minecraft server and client on a fixed route, from a fresh world on the same seed, at least twice per condition, and record every tick, frame and cube delivery.18 When we say a change helped, there is a capture before it and a capture after it.
We're also careful about where we measure. Our captures run on one workstation with 24 cores. Our designs assume the median player has 8, and every pool and budget is sized from the machine's core count with that in mind.19 That's a design target, not a result: we haven't yet measured an 8-core machine, and we won't claim numbers we don't have.
We build with AI coding assistants, mainly Claude Code and Codex, and the same checks apply to everything whoever drafted it. An assistant's output is a draft until one of us has read it, understood it and accepted it.20 Our pre-push hook refuses a push without a passing local check of formatting, tests, both projects' builds and the twice-rendered fingerprints. A terrain change carries its new fingerprints and a reason. Our decision log holds only what's true today: when a decision changes, we rewrite it in the same commit, and the history stays in git.21 None of that cares who typed the change. The same habits run through the projects around Riven.
The stack around it
Distant Horizons is the official release, and we keep its JAR exactly as published. Cubature changes how some of its classes behave at runtime, to put the native view first and to ask for distant tiles in the order the player reaches them.22 An unchanged file isn't an unchanged program, so we treat those patches as what they are: changes to Distant Horizons' code, under its own license, with their source published alongside ours.3
GTCEu: Reloaded is our continuation of GregTech CE Unofficial for 1.12.2, keeping its machines and progression and bringing back a selection of features from its modern versions.23 Riven reads GregTech's overworld ore veins as a catalog and places them with its own geology, so a vein sits in the rock that would hold it. GregTech's own world generator never runs. Riven is designed for GTCEu: Reloaded; so far we've checked the ore names against the upstream GTCEu release.24
Riven's blocks get their look from Riven Resources and Asset Factory, our art projects. Riven asks for a set of textures and a team of AI authors draws it. Every set is checked pixel by pixel and reviewed, and Riven takes each one by the hashes of its exact files.25
Same seed, any order
Each of those projects leans on the same promise. Because a Riven world can't tell what order you asked in, Cubature can build it on many threads and ahead of you. Distant Horizons can draw it to the horizon, and every player still gets the same world. The rule cost us fresh worlds, a narrower ecosystem and a few features we liked. It bought an engine we can make faster without worrying about what it builds.
The longer texts take each part further:
- how Cubature delivers the distant view;
- how it generates in parallel;
- how Riven plans a world from one seed;
- how we verify AI-assisted work;
- how Riven's art is made;
- what GTCEu: Reloaded brings to 1.12.2.
Everything here is a research preview, public for study and testing. Questions are welcome on Discord, and bugs go to each project's issues.
Sources
- 1
RivenREADME: Status, What Riven generates, For addon and mod developers - 2
RivenDecisions: Realms by height; Subsurface (adopted 2026-10-26) - 3
RivenProject commitments (accepted 2026-10-19) - 4
RivenArchitecture: Determinism contract - 5
RivenContributing to Riven: Rules that keep worlds reproducible; Checks - 6
CubatureREADME: For addon and mod developers - 7
Cubature c6d2bceOffer each world's generator a bounded build pool;Riven ac71330Run Riven's in-build parallelism on Cubature's build pool - 8
Cubature e14bbf9Prepare a generator's regional plans ahead of the players - 9
Cubature 5a8bf29Keep a held teleport through vanilla's move corrections - 10
RivenArchitecture: Entry points; The column engine - 11
CubatureDistant terrain delivery: Evidence; Plan - 12
Riven 5d49048Build a continent's hydrology plans before its drainage scan - 13
Cubature ad21203Hold Distant Horizons previews while the native view is behind - 14
Cubature ca52295Hold preview tiles only for a native view that shows its ground - 15
Riven 6be0804terrain-v132: continuous fjord walls and strait unions - 16
Riven f024283Remove Biomes O' Plenty from Riven's code - 17
Riven dba3558Remove wonders and compatibility paths - 18
RivenDebugging Riven, Cubature and Distant Horizons - 19
Riven c95ca46Decide an 8-core baseline and ownership of the DH pipeline - 20
.githubAI usage - 21
Riven 095a266Gate pushes on a ci pass for the pushed tree;RivenDecisions - 22
Cubature 5e134f4Ask for Distant Horizons sections in the order the player reaches them - 23
GTCEu-ReloadedGTCEu: Reloaded README - 24
Riven f0262aaRecord the GTCEu load check of Riven's ore names and materials - 25
RivenDecisions: Art lives outside the repositories (adopted 2026-11-01);RivenResourcesRiven Resources