Skip to content
mega12345mega edited this page Jul 26, 2025 · 1 revision

Including Modules

Release

Maven Repo: https://jitpack.io
Group ID: com.github.mega12345mega.NBT-Database
Artifact IDs: file, connection, cli, gui

Gradle: com.github.mega12345mega.NBT-Database:cli:<version>

Note that :cli and :gui both depend on :connection, and :connection depends on :file.

NBT Entry Format

The NBT entries use the same format as the mod NBT Editor, so you can export (/nbt export file) and import (/nbt import) entries from Minecraft directly. The database will accept both uncompressed and compressed files, but will store and supply them as compressed.

All Entries

Neither of these are required, but they are highly recommended. If they aren't included, the GUI will prompt for these for the database entry (but will NOT add to the NBT itself).

  • type: string (item/block/entity/other)
  • DataVersion: int

Item Entries

  • id: string
  • count: int
  • components/tag: compound

Block Entries

  • id: string
  • state: compound
  • tag: compound

Entity Entries

  • id: string
  • tag: compound

Other Entries

There are no specific requirements. Note that the NBT must still be a valid NBT file.

Database Format

The entries are stored in an SQLite database. Use any SQLite database browser to explore the database, but be careful making any changes.

Clone this wiki locally