mc-nbt
github.com
- Free plan
- Linux
- API
What mc-nbt is
mc-nbt is a free Node.js library for reading, writing, converting, and editing Minecraft data. It supports NBT, gzip-compressed DAT, MCA region, SNBT, and JSON files, with conversions between NBT, SNBT, and JSON that preserve types. The library handles numeric and string tags, byte, int, and long arrays, lists, and compounds. MCA tools can read, write, and modify individual chunks, or process multiple region files concurrently. Lazy loading, asynchronous methods, and configurable concurrency support bulk work and memory-constrained environments. InventoryManager can list, add, remove, and modify player inventory items. Validation and inspection methods examine NBT structures. Buffer parsing and serialization allow user-provided adapters for remote data, with SFTP and API examples. mc-nbt requires Node.js 12.0.0 or higher and uses only built-in Node.js modules. The README identifies an MIT license and highlights production servers, world conversion, and batch scripts.
Who it suits
mc-nbt suits developers building Minecraft server tools, world converters, batch scripts, or applications handling remote world data. It is also useful where asynchronous processing and controlled memory use matter.
Good to know, and what to watch
- Supports NBT, DAT, MCA, SNBT, and JSON
- Preserves types during listed conversions
- Reads and edits individual region chunks
- Provides concurrent MCA processing
- Uses only built-in Node.js modules
- Requires Node.js 12.0.0 or higher
- Requires user-provided adapters for remote data
- No security certifications or compliance claims listed
Plans
Every plan and pricemc-nbt-lib
Free plan
The verdict
mc-nbt provides broad Minecraft file handling, chunk editing, inventory management, and validation in a focused Node.js library. Its built-in-module design and asynchronous region tools fit server and batch workflows.
What the maker publishes
- Conversion
- It converts between NBT, SNBT, and JSON, with type preservation described in the README. source
- Dependencies
- The project requires Node.js 12.0.0 or higher and states that it uses only Node.js built-in modules. source
- File formats
- It supports NBT, DAT, MCA, SNBT, and JSON files. source
- Formats
- It supports NBT, gzip-compressed DAT, MCA region, SNBT, and JSON files. source
- Integrations
- Buffer operations support user-provided adapters, with SFTP and APIs shown as example data sources. source
- Intended users
- The README highlights production Minecraft servers, world conversion tools, batch processing scripts, and memory-constrained environments as use cases for async methods. source
- Inventory tools
- Its InventoryManager can list, add, remove, and modify player inventory items. source
- License
- The repository README identifies the license as MIT. source
- Maintainer
- The GitHub profile identifies flaasz as Bartek Profic, an e-commerce web developer in Poland. source
- NBT tags
- It reads and writes Byte, Short, Int, Long, Float, Double, String, byte array, int array, long array, List, and Compound tags. source
- Performance features
- Async methods, lazy loading, and configurable concurrency are provided for MCA operations. source
- Purpose
- mc-nbt is a Node.js library for reading, writing, and manipulating Minecraft NBT, DAT, and MCA files. source
- Region files
- It can read, write, and manipulate individual chunks in Minecraft region files, and process multiple MCA files concurrently. source
- Region tools
- Its MCA support includes reading and writing individual chunks, lazy loading, and concurrent bulk processing. source
- Remote data
- Buffer parsing and serialization allow applications to work with remote files through user-provided adapters, including SFTP examples. source
- Requirements
- The README requires Node.js 12.0.0 or higher and says the library uses only built-in Node.js modules. source
- Security and compliance
- The repository describes data validation and preservation of exact data types and values; it does not state security certifications or compliance claims. source
- Support
- The README welcomes contributions and directs users to contributing guidelines and pull requests. source
- Validation
- The library includes NBT structure validation and inspection methods. source
Checked against the maker's pages on 9 Oct 2026.