Create your modpack's world from a ready-made template — in one click.
World Templates Reforged lets modpack authors ship a pre-built world (spawn builds, structures, NPCs, datapacks, everything) inside the mod itself, and gives players a dedicated "Create World" button on the world selection screen. One click, and the mod installs the template and clones it into a fresh world with a new random seed— server-style templates, but for singleplayer.
โจ Features
- ๐ Embedded world templates — your finished world ships as a zip inside the mod. It's installed on first use (with zip-slip protection) and cloned on demand.
- ๐ฑ๏ธ Custom world button — adds a configurable button to the world selection screen. The vanilla *"Create New World"* button can be hidden or kept.
- ๐๏ธ Template selection screen — players pick between registered templates; each entry shows its name, icon and folder.
- ๐ผ๏ธ World icons that stick — the created world keeps the template's icon, auto-resized to the 64×64 vanilla requires, and vanilla never overwrites it.
- ๐ Fresh seeds every time — each world gets a brand-new `SecureRandom` seed (never 0, never repeated), written into `level.dat`.
- ๐งน Clean cloning — playerdata, advancements and stats are wiped; the world is built in a staging folder and only published when everything succeeds. Failed attempts never leave junk worlds behind, and broken leftovers are cleaned automatically.
- โ๏ธ Full in-game config — open from the Mods list → Config. Everything is customizable without touching a single file.
๐๏ธ For modpack creators
Open the config from Mods → World Templates Reforged → Config:
Button tab
| Option | What it does |
|---|---|
| Text / Tooltip | Button label and hover text |
| Pos X / Pos Y | Button position (-1 centers X) |
| Width / Height | Button size (with live preview) |
Templates tab
| Option | What it does |
|---|---|
| Default template | Cycles through registered templates |
| Choose | YES: opens the template selector · NO: uses the first template directly |
| Main template name | Override the template's displayed name |
| Icon | Override the icon texture |
| World base name | New worlds are named Trilcera, Trilcera 2, ... |
| Show descriptions | Folder/Source info lines in the list |
| Show 'Create New World' | Keep or hide the vanilla button |
All settings persist in <button class="items-center justify-center whitespace-nowrap rounded-xs focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 overflow-hidden hover:opacity-80 border-0 cursor-pointer hover:shadow-none focus:ring-0 focus:ring-offset-0 m-0 [&_svg]:size-2 p-0 ml-0.5 leading-none align-middle transition-opacity text-preformat gap-0.5 inline text-left" title="Open config/worldtemplates-client.toml in editor" type="button">config/worldtemplates-client.toml</button>.
Ship your own world: replace the embedded /trilcera-template.zip in the mod jar with your own world zip (the world can be at the zip root or nested one folder deep — both layouts are handled).
โ FAQ
Does it work on servers? It's client-side only — designed for singleplayer world creation. On dedicated servers it does nothing.
Where is the template stored? In <game dir>/trilcera-template/. Created worlds go to saves/ like any normal world.
Can players still create normal worlds? Yes — set "Show 'Create New World'" to YES in the config.
๐ Credits
- Architecture inspired by World Templates by BrandonItaly (NeoForge)
- World-cloning flow based on the LonKraft Template API
- Built by iSkyh for the Trilcera modpack
๐ License
MIT — free to include in your modpack.

