promotional bannermobile promotional banner

LonKraft API

A template-based world generation API for Forge 1.20.1, allowing adventure maps and modpacks to launch fresh worlds from custom prebuilt terrain. Originally created for LonKraft.

LonKraft Map Template

LonKraft Map Template is a world-template generation API/framework for Minecraft Forge 1.20.1, designed primarily for adventure maps, custom campaigns and modpacks that need to start from a predefined world instead of relying on standard Minecraft terrain generation.

Originally developed for the LonKraft Modpack, the system can also serve as a foundation for other custom adventure-map projects.

What does it do?

The mod allows a prepared custom world to be used as a template. When starting a new adventure, it creates a fresh playable copy of that template while removing data that should not be inherited from the original map.

This makes it possible to distribute handcrafted terrain, structures, cities, bunkers, quest areas or entire custom landscapes while still giving the player a clean new world.

Features

  • Template-based custom world generation

  • Designed for adventure maps and modpacks

  • Creates a fresh world from a prebuilt map template

  • Automatically generates a separate world copy

  • Removes inherited player data

  • Removes inherited advancements and statistics

  • Cleans session-specific world data

  • Prevents player information from the original level.dat from being carried over

  • Handles first-time player spawning in generated worlds

  • Integrates directly with the Minecraft world selection/creation interface

  • Useful for handcrafted terrain and heavily customized adventure worlds

Why use a world template?

Procedural generation is not always suitable for adventure maps.

With a template-based system, map creators have complete control over the terrain and environment players will experience. You can prepare the world beforehand using Minecraft, WorldPainter, custom structures or other mapping tools, then use LonKraft Map Template to provide players with a clean instance of that world.

This is particularly useful for:

  • Adventure maps

  • Story-driven modpacks

  • RPG maps

  • Post-apocalyptic worlds

  • Custom survival experiences

  • Handcrafted open worlds

  • Pre-generated cities and structures

  • Controlled quest environments

    How Does It Work?

    1. Create or prepare your custom Minecraft world using Minecraft, WorldPainter or any compatible map-building tool.

    2. Place the finished world inside the lonkraft-template folder in the Minecraft directory.

    3. LonKraft Map Template detects this world and uses it as the master template.

    4. When the player starts a new adventure, the mod creates a fresh and independent copy of the template.

    5. Player-specific data such as inventory/player NBT, advancements, statistics and session information is automatically removed from the copy.

    6. The newly generated world is then loaded as a clean adventure-map instance while keeping the original terrain, structures and world design intact.

    The original template is never used directly as the player's save, allowing a fresh adventure to be created again whenever needed.

Originally built for LonKraft

This project was initially created to power the custom world system used by the LonKraft Modpack, but its template-based approach makes it useful as a foundation for other Minecraft adventure-map projects as well.

Minecraft: 1.20.1
Mod Loader: Forge
Author: LonKraft

 

(only in French)

The LonKraft API Team

profile avatar
  • 3
    Projects
  • 25
    Downloads

Dev , Mods , ModPack creator of LonKraft me soutenir : https://fr.tipeee.com/lonkwastaken/

More from LonK_DeV

  • LonK Door project image

    LonK Door

    Adds a secure, reinforced door that can only be opened with a Level X Access Card, ideal for bunkers and laboratories , Ajoute une porte blindée sécurisée qui ne peut être ouverte qu'avec une Carte Accès Niveau X, idéale pour les bunkers, laboratoires

    • 13
    • August 8, 2026
  • Bunker Block by LonK project image

    Bunker Block by LonK

    Adds a complete set of bunker blocks and post-apocalyptic decorations , Ajoute un ensemble complet de blocs de bunker et de décorations post-apocalyptiques

    • 3
    • August 6, 2026
  • LonK Door project image

    LonK Door

    Adds a secure, reinforced door that can only be opened with a Level X Access Card, ideal for bunkers and laboratories , Ajoute une porte blindée sécurisée qui ne peut être ouverte qu'avec une Carte Accès Niveau X, idéale pour les bunkers, laboratoires

    • 13
    • August 8, 2026
  • Bunker Block by LonK project image

    Bunker Block by LonK

    Adds a complete set of bunker blocks and post-apocalyptic decorations , Ajoute un ensemble complet de blocs de bunker et de décorations post-apocalyptiques

    • 3
    • August 6, 2026