nbtmapper

nbtmapper

This mod is intended for map art building and creative projects. Use on multiplayer servers only if permitted by the server rules.

by
86 Downloads
fabricworldgen
Rent Server with this Mod

Screenshots

nbtmapper Screenshot 1
nbtmapper Screenshot 2

About this Mod

NbtMapper - Automatic Map Art Builder

Disclaimer: This mod is intended for map art building and creative projects. Use on multiplayer servers only if permitted by the server rules.

A Fabric client-side mod that helps you build map art from NBT structure files. Load your structure, set the coordinates, and the mod assists with movement, inventory management, block placement, and resupply.

Requirements

  • Minecraft 1.21.11
  • Fabric Loader 0.18.2+
  • Fabric API
  • Java 21+
  • A server with teleport commands (e.g., /home, /warp) for auto-resupply

Installation

  1. Install Fabric Loader for Minecraft 1.21.11
  2. Download and place the mod .jar into your mods/ folder
  3. Make sure Fabric API is also in the mods/ folder
  4. Launch the game

Quick Start

  1. Place your .nbt structure files into <game_dir>/nbtmapper/
  2. In-game, press Z to open the GUI
  3. Go to the Tasks tab, click an NBT file to load it
  4. On the Main tab, click New Site to set the build origin (auto-snaps to 128-block map grid)
  5. Configure your storage chests in the Storage tab (chest coordinates for each block type)
  6. Set your teleport commands in the Settings tab
  7. Click Start — the mod handles the rest

Features

Fully Automated Building

  • Loads NBT structures and places blocks in an optimized snake pattern
  • Automatically places cobblestone bases before carpet/surface blocks
  • Prefills nearby same-type blocks while in range for extra speed
  • Skips already-correct blocks instantly

Auto Resupply

  • Detects when inventory is low on a block type
  • Uses server teleport commands (e.g., /home, /warp) to travel to your configured storage area
  • Batch supply: fetches multiple block types in a single trip
  • Consolidates split stacks in inventory after fetching

Auto-Next Map

  • When a map completes, automatically loads the next NBT file (alphabetical order)
  • Offsets the build origin along X axis by the previous map's width
  • Perfect for building multi-map art pieces side by side
  • Toggle on/off via the Auto button on the Main tab

Session Persistence

  • Progress is auto-saved every 10 seconds
  • Remembers last loaded file, origin, settings, and running state
  • Resumes automatically after game restart if building was active

Safety Features

  • Loop detection: auto-pauses if stuck in a loop, resumes after 20 seconds
  • Block verification: checks previously placed blocks to ensure correctness
  • Stuck detection: repositions the player if they get stuck during building
  • Max retry limits on movement and placement attempts
  • Automatic error recovery during movement

GUI Overview

Press Z to open. The GUI has 4 tabs:

Main Tab

  • Build origin coordinates (read-only, set via New Site)
  • Large Start/Pause button
  • Progress display with manual set/reset
  • Auto toggle (auto-load next map on completion)
  • Debug toggle (shows real-time HUD overlay)

Tasks Tab

  • Lists all .nbt files in the nbtmapper/ folder
  • Click to load, X to delete
  • Shows progress count and [done] marker for completed maps
  • Open NBT Folder button for quick access

Storage Tab

  • Maps each block type to a chest location (X/Y/Z)
  • Edit coordinates directly in the GUI
  • Auto-saves on change

Settings Tab

  • TP to Store: command to teleport to your storage area
  • TP to Worksite: command to return to the build site
  • Update Home: command to update your home position before supply runs
  • Move Mode: Walk / Sprint / Creative Fly / Always Fly / Elytra

Configuration Files

All config files are stored in <game_dir>/nbtmapper/:

File Purpose
storage.json Block-to-chest coordinate mappings and teleport commands
settings.json Origin, move mode, auto-next, last loaded file, running state
<name>_progress.json Per-map build progress

Movement Modes

Mode Description
Walk Standard ground movement
Sprint Sprinting ground movement
Creative Fly Creative mode flight, disables on arrival
Always Fly Creative mode flight, stays enabled
Elytra Elytra-based flight

How It Works

The mod runs a state machine on each client tick:

NEXT → EQUIPPING → MOVING → PLACING → NEXT → ...
                                ↘ SUPPLYING (when low on blocks)
  • NEXT: Finds the next block to place, skips air/completed blocks in bulk
  • EQUIPPING: Switches hotbar to the correct block
  • MOVING: Navigates to within 4 blocks of the target
  • PLACING: Places the block and prefills nearby same-type blocks
  • SUPPLYING: Teleports to storage, fetches blocks, returns

Multiple states can chain in a single tick for efficient building.

NBT File Format

The mod reads standard Minecraft structure NBT files (.nbt). These can be created with:

  • Structure blocks in-game
  • External tools like NBT Studio or Amulet Editor
  • Map art generators that export to NBT format
  • Recommended: Online map art generators such as MapartCraft can convert images to NBT files

The mod reads the palette (block types) and blocks (positions), keeping only the topmost block per X/Z column.

Important Notes

  • Client-side only: This mod runs entirely on the client. No server-side installation needed.
  • Server rules: Always ensure your server permits building assistance tools before use.
  • Teleport commands: The resupply system relies on server-provided teleport commands (e.g., Essentials /home, /warp). Configure these in the Settings tab.
  • Creative fly: The default move mode requires creative flight ability. Switch to Walk/Sprint if playing in survival without fly permissions.
  • Backup: The mod places blocks in the world. Always have backups of important builds.
  • First run: On first launch, storage.json is created with default chest coordinates that won't match your server. You must configure your own chest locations in the Storage tab.

Keybindings

Key Action
Z Open/close GUI (auto-pauses when opening)

Available Versions

nbtmapper 1.0.0release
MC 1.21.11fabric
March 10, 2026

How to Install nbtmapper on Your Server

1

Order Server

Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "nbtmapper". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11

Server-side

Unsupported

Recommended RAM

6 GB(min. 4 GB)

Frequently Asked Questions

nbtmapper server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is nbtmapper compatible with fabric?

nbtmapper officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with nbtmapper – how to optimize performance?

Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if nbtmapper consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install nbtmapper with just one click on your server.

Recommended RAM
6 GBab €12/mo
Min. 4 GB | +1 GB pro 5 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Unsupported

Supported Versions

1.21.11