Turbocharged Terrain Diffusion (TTD)

Adds caves and more structures to Terrain Diffusion for better survival gameplay

Turbocharged Terrain Diffusion

Real-world-scale AI terrain for Minecraft 26.3, with deep underlands, giant ore motherlodes and AI-planned mega-structures. Server-side: players with a vanilla client can join.

Turbocharged Terrain Diffusion (TTD) is a Fabric mod built on Terrain Diffusion by xandergos, research accepted to SIGGRAPH 2026. Instead of noise, a diffusion model trained on real elevation data draws the land: continents, mountain ranges, valleys, coastlines and islands that look like real places. TTD takes that terrain and builds a full world around it.

> Beta. Start a new world and back up anything you care about. Much of this version has been tested on a server but not yet in long play sessions. Please report bugs.


Features

Real terrain at any scale

  • Pick a World Scale from 1 to 6 when you create the world. Scale 1 is 30 m per block (compact), scale 2 is 15 m per block (recommended), and higher scales zoom in further.
  • Mountains can reach Y 2031 at scale 6.
  • Spawn is placed on land near 0, 0 automatically.
  • Fast /locate: far searches use a quick estimate from the coarse map instead of generating whole tiles.

Provinces and biomes

  • The world is split into three large provinces with soft borders:
  • Wildwood: wetter, with dark forest, old-growth taiga, birch, swamps and pale gardens.
  • Heartland: warmer and drier open country with plains, meadows, savanna and flower forests.
  • Highlands: cooler, with windswept hills, groves, taiga, cherry groves and badlands.
  • Biome patterns grow with the world scale, so rare biomes come in fewer, bigger patches and borders blend naturally.

The Underlands and caves

  • Deeper worlds: the bottom of the world is Y -64 at scale 1, -144 at scale 2, -304 at scale 4 and -464 at scale 6.
  • Caves sized by the rock above them: none right under the surface, then small, medium and large caves the deeper you go. Some regions have rounded caverns, others stacked horizontal galleries, and some stay solid, so caves come in clusters.
  • The Underlands: a giant cavern band at the bottom of the world with a floor that follows the land above, islands, arches, lava rivers, lush, dripstone and deep dark grottos, and natural lighting.
  • Vanilla worm caves and canyons are off by default (you can turn them back on).

Ore motherlodes

  • Rare 40 to 80 block ore deposits that follow the terrain. Diamonds gather under big mountain ranges, coal and emerald inside mountains, iron and copper higher up.
  • Each lode is framed by calcite, tuff or smooth basalt with glow lichen, so you know when you have found one.
  • Vanilla's small ore blobs are reduced to compensate.
  • Abyssal Vaults: deepslate halls on cavern floors.

Overboost mega-structures

Four huge structures of 20 to 40+ pieces each, laid out by a small built-in AI model that reads the terrain around the site:

  • Massive Valley Bridge across deep gorges, with piers down to the valley floor and towers at each end.
  • High-Peak Mountain Temple on prominent summits, with terraces, halls and a grand stairway.
  • Cliffside Winter Fortress on sheer cliff edges, with curtain walls, towers, courtyards and a keep.
  • Underlands Ruin, a broken, mossy compound on the floor of a deep cavern.

Stone foundations reach down to solid rock, so nothing floats. Same seed, same structures.

Switchback trails

Every surface mega-structure is linked to the valley below by a dirt path trail 150 to 400 blocks long. It is routed along the slope with real hairpin turns, cut into the hillside, walled where it crosses a drop, and stepped with slabs so you never have to jump.

Faster travel

  • Walking on dirt paths is 30% faster, and the same goes for the horse you ride.
  • Minecarts with a player reach 24 blocks/s on long, straight, level track, and slow back down to vanilla speed before curves, slopes and track ends.
  • This can be adjusted in the config file

Terrain explorer

  • Run /td-explore to open an interactive map of your world in your web browser: biome map, elevation, temperature and humidity heatmaps, a legend, a hover readout, and a copyable /tp command for any spot.

Works with vanilla clients

Everything uses vanilla blocks and runs on the server, so players without the mod can join a TTD server.


Requirements

Minecraft 26.3 Mod loader: Fabric Loader 0.20.1 or newer Required mod: Fabric API Recommended Mods: Terrain Diffusion Vast Structures v1.0.5+ (link), ScalableLux, Chunky, Distant Horizons 3.3.x+, Sodium, FerriteCore, Intercooler (link) Java: 25 or newer RAM: About 2.5 GB just for the terrain models. Give Minecraft or the server at least 6 GB, 8 GB or more is better. VRAM: About 1.5 to 2 GB (GPU builds) Disk: About 3 GB for the models (downloaded on first launch), world save files and mods

A GPU is strongly recommended. The CPU build works but generates terrain slowly, except on Apple Silicon Macs where it uses CoreML automatically.


Which file do I download?

There are three builds. Install only one of them.

| Build | Use it if you have | Extra setup |

|---|---|---|

| Windows (DirectML), recommended | Windows with any modern GPU (NVIDIA, AMD or Intel) | None |

| CUDA | An NVIDIA GPU (Windows or Linux), including older cards such as the GTX 10 series | CUDA 12.x and cuDNN 8.9.7, see below |

| CPU | Anything else, including Macs | None |


How to install

  1. Install Java 25 (for example the Microsoft Build of OpenJDK 25. Older Java versions will crash with a DLL error.
  2. Install Fabric Loader for Minecraft 26.3 from fabricmc.net.
  3. Put Fabric API and the Turbocharged Terrain Diffusion jar you picked above into your mods folder.
  4. Give Minecraft more memory: in your launcher's profile settings, set the Java arguments to at least -Xmx6G.
  5. Launch the game once while online. TTD downloads its terrain models (about 2.5 GB) on the first start. This only happens once.
  6. Click Create New World, go to the World tab, and set World Type to Terrain Diffusion. Click Customize to choose the World Scale (2 is recommended).
  7. Create the world. The first chunks can take a little while as the models warm up.

Dedicated server

  1. Install Fabric for 26.3 on the server, then put Fabric API and the TTD jar in the server's mods folder.
  2. In server.properties, set the world type to the scale you want, for example:

level-type=terrain-diffusion-mc:terrain_diffusion_scale_2

(use _scale_1 up to _scale_6).

  1. Start the server once while online so it downloads the models.
  2. Players can join with a normal, unmodded client.

CUDA build setup (NVIDIA only)

Skip this if you use the Windows or CPU build.

  1. Install CUDA 12.x (12.9 is tested). In the installer choose Custom, select only CUDA → Runtime, and untick everything else, including the driver.
  2. Download cuDNN 8.9.7 for CUDA 12.x from the NVIDIA cuDNN archive. Copy every DLL from its bin folder into C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.9\bin. cuDNN 9 does not work with this build.
  3. Make sure that bin folder is on your PATH, then restart your PC.

If the log says LoadLibrary failed with error 126, one of the CUDA or cuDNN files can't be found. If it mentions zlibwapi.dll, copy that DLL from zlib123dllx64.zip into the same bin folder.

Tip: with 8 GB of VRAM or more, set inference.offload_models=false in the config to keep all models on the GPU for faster generation.


Commands

For everyone

| Command | What it does |

|---|---|

| /td-explore | Opens the terrain explorer. Prints a clickable link (default http://localhost:19801) to an interactive map of the world with biome, elevation, temperature and humidity layers. Click a spot to see its coordinates and copy a /tp command. The page only accepts connections from the computer the world is running on, so on a dedicated server it is for the host. |

| /td-status | Shows which backend is generating terrain (CUDA, DirectML, CoreML or CPU), the Java version, world scale, height limit, spawn point, the state of the GPU models, and the Distant Horizons bridge. |

Finding structures (operators)

| Command | What it does |

|---|---|

| /locate structure terrain-diffusion-mc:overboost_mountain_temple | Finds the nearest High-Peak Mountain Temple. |

| /locate structure terrain-diffusion-mc:overboost_cliffside_fortress | Finds the nearest Cliffside Winter Fortress. |

| /locate structure terrain-diffusion-mc:overboost_valley_bridge | Finds the nearest Massive Valley Bridge. |

| /locate structure terrain-diffusion-mc:overboost_underlands_ruin | Finds the nearest Underlands Ruin. |

Admin and debug tools (operators)

| Command | What it does |

|---|---|

| /td-overboost status | Shows whether the mega-structure model is loaded, where it runs and how far apart sites are. |

| /td-overboost find <theme> <x> <z> <radius> | Lists mega-structure sites around a point. Theme is mountain_temple, cliffside_fortress, valley_bridge, underlands_ruin or any. |

| /td-overboost site <x> <z> | Shows what the nearest site builds: theme, position, module count, gatehouse and why. |

| /td-overboost trail <x> <z> <name> | Plans the site's switchback trail, reports its length, drop and hairpins, and saves it to ttd-dumps/<name>.trail.json. |

| /td-overboost render <x> <z> <name> | Generates the site and its trail and saves a top-down picture to ttd-dumps/<name>.png. |

| /td-overboost dump <x> <z> <name> | Exports the built structure block by block to ttd-dumps/<name>.vox (TTD's own debug format, for the renderers in the source repo). |

| /td-slice <x|z> <at> <from> <to> | Renders a vertical cross-section of the terrain as a PNG in ttd-slices/, with ores and lights highlighted. Up to 2048 blocks wide. |

| /td-scan <x> <z> <radiusChunks> | Counts caves, ores, host rock, lights and lava around a point and checks that ocean floors and the bedrock buffer are solid. |

| /td-peak <x> <z> <radius> | Finds the highest ground near a point from the coarse map. |

| /td-regions <x> <z> <radius> <stride> [current|legacy] | Draws a large biome and province map as a PNG in ttd-regions/ without generating chunks, plus patch statistics. |

| /td-blocks <x> <z> <radiusChunks> <blocks...> | Generates the chunks around a point and counts the listed blocks, with the lowest and highest Y of each. |

| /td-traveltest path <x> <z> | Self-test that checks the dirt path speed boost. |

| /td-traveltest rail <x> <z> <maxSpeed> | Builds a test track and rides it to check the fast minecart boost. |

With Distant Horizons installed on a server, /dh pregen start minecraft:overworld <x> <z> <radius> builds far-away LODs ahead of time using TTD's terrain.


Configuration

Settings are in config/terrain-diffusion-mc.properties, created on the first launch. The most useful ones:

| Setting | Default | What it does |

|---|---|---|

| inference.device | gpu (auto on CPU build) | gpu, cpu or auto (try the GPU, fall back to CPU). |

| inference.offload_models | true | Unload idle models from VRAM. Set to false with 2.5 GB+ free VRAM for faster generation. |

| explorer.port | 19801 | Port for the /td-explore map. |

| caves.noise_caves | true | The underlands cave system. |

| caves.vanilla_carvers | false | Turn vanilla worm caves and canyons back on. |

| ores.vanilla_blobs | reduced | Vanilla's small ore blobs: keep, reduced (one in four kept) or off. |

| worldgen.provinces | true | Wildwood, Heartland and Highlands provinces. |

| worldgen.scale_aware_biomes | true | Biome patterns that grow with the world scale. |

| travel.dirt_path_speed_boost | 0.30 | Dirt path speed boost (0.30 = 30% faster, 0 turns it off). |

| travel.minecart_max_speed | 24 | Top minecart speed in blocks per second (8 is vanilla). |

| twinscroll.overboost.enabled | true | Overboost mega-structures. |

| twinscroll.overboost.trails | true | Switchback trails to mega-structures. |

| distant_horizons.enabled | true | The Distant Horizons bridge (only active if DH is installed). |

| distant_horizons.threads | 2 | How many background threads build DH LODs at once. |


Required and recommended mods

Required

Recommended

  • Terrain Diffusion Vast Structures (by me, from the td-vanilla-structures project): retunes vanilla structures for huge terrain. Villages, outposts, temples and more spawn in many more biomes and about 30% more often, villages and outposts get foundations instead of floating on slopes, ancient cities sit on the underlands cavern floor, and it adds small explorer camps. Use version 1.0.5 or newer. Server-side.
  • Intercooler (by me): world compression built for TTD. TTD worlds are big, and Intercooler stores them in about a third of the space of vanilla's format, without slowing the server down. Safe with Chunky. Server-side.
  • Chunky: pre-generates terrain ahead of time, for example /chunky radius 2000 then /chunky start. AI terrain takes more work to generate than vanilla, so pre-generating the area around spawn makes exploring much smoother, especially on servers.

Optional

  • Distant Horizons 3.3 or newer: see mountain ranges and coastlines far beyond your render distance. TTD builds DH's far-away terrain straight from its terrain model, which is much faster than generating real chunks. Install it on the client (and on the server if you play multiplayer). Distant terrain shows the land shape and surface only, not caves, trees or structures. TTD works the same without it.

Common problems

"A dynamic link library (DLL) initialization routine failed"

You are on an old Java version. Minecraft 26.3 needs Java 25.

"LoadLibrary failed with error 126" (CUDA build)

CUDA or cuDNN isn't installed correctly. Check that you used cuDNN 8.9.7 (not 9) and that the CUDA bin folder is on your PATH. Or switch to the Windows build, which needs no setup.

"Failed to load terrain-diffusion models"

Usually out of memory. Give Minecraft more RAM (-Xmx6G or more).

The world loads slowly at first

The models warm up on the first chunks. Pre-generating with Chunky helps a lot.


Credits and license

  • Terrain model and original mod: Terrain Diffusion by xandergos (MIT).
  • Biome catalogue and lifted caves adapted from Terrain Diffusion Plus by derekvawdrey (MIT).
  • Distant Horizons bridge ported from Terrain Diffusion Horizons by LMaxRouterCN (MPL-2.0).
  • The cave layout is a clean-room design inspired by the look of JJThunder To The Max. No files or values from that pack are used.

This is an unofficial fork and isn't affiliated with or endorsed by the original authors or by Mojang or Microsoft. Licensed under MIT, with MPL-2.0 for the Distant Horizons bridge files.

Source code: Turbocharged Terrain Diffusion


AI disclaimer

The changes in this fork were made by AI. I used an AI coding assistant (Claude Code) to write the code, models, structures and documentation for Turbocharged Terrain Diffusion 3.x. I guided it, set the goals and decide what goes in. I'm not a professional modder.

I don't make any money from this. No ads, paid tiers or donations. It's free, and I'm sharing it because I wanted really good mods to play with and figured others might too.

Expect bugs, back up your worlds, and please report problems. The full disclaimer is in AI_Disclaimer.

Turbocharged Terrain Diffusion (TTD) Team

profile avatar
  • 4
    Projects
  • 61
    Downloads

More from RyanMichalak9808