Skip to content

Joaooh/invdump

Repository files navigation

InvDump

InvDump is a lightweight client-side mod for Minecraft (NeoForge 1.21.1+) that allows players to export their full inventory to a readable text file. This includes:

  • Main inventory
  • Armor
  • Offhand
  • Backpack contents (see important note below)

Inventory snapshots are saved automatically when the player leaves the world (Singleplayer or Multiplayer client disconnect).


Important Note About Backpacks

Due to how Sophisticated Backpacks handles synchronization, backpack contents are only available to the client after the player has opened or previewed each backpack at least once during the current play session.

This means:

  • Open the backpack normally or
  • Hover over it in the inventory and hold Shift to show its preview

Once a backpack has been viewed in any of these ways during the session, its contents will be included in the exported inventory file.


Features

  • Automatic inventory export on logout
  • Saves output to ./inventory-dumps/ inside the game directory
  • Compatible with Sophisticated Backpacks
  • Outputs clean, human-readable .txt files
  • Files are made read-only to prevent accidental overwrites

Installation

Clone or download this repository, then open it in your IDE (IntelliJ IDEA recommended).
Make sure you have a valid NeoForge workspace (this project is based on the NeoForge MDK).

If at any point your IDE reports missing libraries or build issues, you can force dependency refresh:

./gradlew --refresh-dependencies
./gradlew clean build

This ensures your local Gradle cache is rebuilt while your project files remain untouched.


Running the Mod

To run the game directly from the development environment:

./gradlew runClient

Minecraft Mappings

This project uses the official Mojang mappings included with NeoForge. These mappings have licensing terms mod developers should be aware of. See: https://github.com/NeoForged/NeoForm/blob/main/Mojang.md


Resources

About

Client-side mod for Minecraft (NeoForge 1.21.1+) that allows players to export their full inventory to a readable text file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages