ModsFinder
NB

NBTApi

by SeFort

NBTApi is a Fabric library for reading and editing the NBT data stored in a world's level.dat file, released under the MIT License.

FabricClient-side onlyMIT LicenseOpen source1.20.1 – 1.20.6

What it does

Other mods call NBTApi to read and change the NBT data in a world's level.dat directly, so a mod does not need its own parser for that file. The library is aimed at developers and is useful on its own only when a player installs another mod that depends on it. Files cover Minecraft 1.20.1 – 1.20.6 and the source code and issue tracker are public.

Key features

  1. Reads level.dat

    The library opens a world's level.dat and exposes its NBT contents to other mods for reading.

  2. Edits level.dat

    Calling mods can also write changes back into the level.dat data of a world.

  3. Scans worlds automatically

    The mod finds level.dat files in saved worlds on its own, so no manual selection is needed.

Compatibility

Latest build for each game version and loader.

1.20.61.0.0
1.20.51.0.0
1.20.41.0.0
1.20.31.0.0
1.20.21.0.0
1.20.11.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Required by 1 mod

How it compares

Full comparison

NBTApi is a client-side only library for Fabric, released under the MIT License. Edit Player NBT is server-side only, open source under the GNU Lesser General Public License v3.0 only, and built for 1.20.1 alone. NBT Viewer is client-side only, under a Creative Commons Attribution Non Commercial 4.0 license that is not open source, and built for 1.20.4 alone.

ModLoadersGame versionsEnvironmentUpdated
NBTApiFabric1.20.1 – 1.20.6Client-side only2025-11-23
Edit Player NBTFabric1.20.1Server-side only2023-06-19
NBT ViewerFabric1.20.4Client-side only2024-01-17

Questions

Which mod requires NBTApi?

NBTApi FancyMenu Add-on requires it, so NBTApi must be installed next to that mod on Fabric.

Does NBTApi need to be on the server?

No. Only the player's game needs it, and servers run without it.

Which game versions does NBTApi support?

Files exist for 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5 and 1.20.6, with 1.0.0 for 1.20.6 as the latest file.

In the catalog

NBTApi is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 11,154 mods support Minecraft 1.20.6.

More from SeFort

All projects

Similar mods

What the author says

It is not useful on its own and is only needed for use in other mods. The mod automatically scans your worlds to find level.dat, so by downloading this mod, you agree that it will do this with your worlds.
SeFort, on the Modrinth page

Official listing

Owner
SeFort
Published
2025-11-23
Updated on Modrinth
2025-11-23
Facts verified
2026-10-15

Tags