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.
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
Reads level.dat
The library opens a world's level.dat and exposes its NBT contents to other mods for reading.
Edits level.dat
Calling mods can also write changes back into the level.dat data of a world.
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.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
How it compares
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.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| NBTApi | Fabric | 1.20.1 – 1.20.6 | Client-side only | 2025-11-23 |
| Edit Player NBT | Fabric | 1.20.1 | Server-side only | 2023-06-19 |
| NBT Viewer | Fabric | 1.20.4 | Client-side only | 2024-01-17 |
Questions
Which mod requires NBTApi?
Does NBTApi need to be on the server?
Which game versions does NBTApi support?
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
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.
Official listing
- Modrinth page
- modrinth.com/mod/nbt-api
- Owner
- SeFort
- Published
- 2025-11-23
- Updated on Modrinth
- 2025-11-23
- Facts verified
- 2026-10-15