Back to mods
Container Data Dumper project artwork

Modrinth · Minecraft mod

Container Data Dumper

Copy container and inventory data as Data Components directly to your clipboard - works with any container block or entity in Minecraft 1.20-1.21+

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Container Data Dumper release matches 1.21.2?

Updated 10 months ago
Best match for your filters 1.0.0
Game version 1.20, 1.20.1, 1.20.2
Loader Fabric

Container Data Dumper 1.0.0 targets 1.20, 1.20.1, 1.20.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Container Data Dumper required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Container Data Dumper 1.0.0 need?

1.0.0 on 1.21.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Container Data Dumper without breaking your instance.

Built for Container Data Dumper 1.0.0 on 1.21.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.20, 1.20.1, 1.20.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does Container Data Dumper add?

Container Data Dumper

Environment
Java 21
Modrinth

Download on Modrinth

Concept

This mod allows you to easily copy the contents of containers (like Chests, Barrels, Shulker Boxes, etc.) in the form of Data Components (SNBT) directly to your clipboard. It adds a convenient "Copy" button to the container UI, making it perfect for developers, technical players, or anyone who needs to extract inventory data.

The mod works with any block or entity that has a container inventory - including Chests, Barrels, Shulker Boxes, Hoppers, Furnaces, Brewing Stands, Chest Boats, Hopper Minecarts, and more.

Version Compatibility & Data Format

Supported Versions: Minecraft 1.20 - 1.21.11

⚠️ Important Note on Data Format

This mod always outputs item data using the Data Components format (introduced in Minecraft 1.20.5).

  • If you are playing on Minecraft 1.21+, this is the standard format.
  • If you are playing on Minecraft 1.20 - 1.20.4 (in which NBT is the standard format), the mod will still output Data Component format (it does NOT convert from the older NBT structure - it directly generates the modern format).

This ensures that the output is consistent and future-proof, regardless of which version you are currently using to capture the data.

Note on Slot Indices: This mod uses Storage/NBT indices (not GUI indices) for slot numbers. This is the correct format for use in commands, datapacks, and NBT data. For more information about the difference between GUI and Storage indices, see the Slot Index Documentation.

Output Example

Here is an example of what the copied data looks like (Data Components format):

[
  {
    "slot": 0,
    "item": {
      "id": "minecraft:netherite_sword",
      "count": 1,
      "components": {
        "minecraft:enchantments": {
          "minecraft:unbreaking": 3
        }
      }
    }
  },
  {
    "slot": 1,
    "item": {
      "id": "minecraft:netherite_chestplate",
      "count": 1,
      "components": {
        "minecraft:enchantments": {
          "minecraft:unbreaking": 3
        }
      }
    }
  },
  {
    "slot": 26,
    "item": {
      "id": "minecraft:jungle_log",
      "count": 1
    }
  }
]

Usage Tip for 1.20.5+

IMPORTANT: Due to chat character limitations, the data copied by this mod is often too long to be pasted directly into the chat window when used in commands.

You typically MUST use a Command Block to execute commands with this data.

Usage Example

To give yourself a chest containing the dumped data, use the following syntax in a command block:

/give @a chest[container=<PASTE_YOUR_COPIED_DATA_HERE>]

This images may also help:

grafik


grafik

This converts to:

[
  {
    "slot": 0,
    "item": {
      "id": "minecraft:netherite_sword",
      "count": 1,
      "components": {
        "minecraft:enchantments": {
          "minecraft:unbreaking": 3
        }
      }
    }
  },
  {
    "slot": 1,
    "item": {
      "id": "minecraft:netherite_chestplate",
      "count": 1,
      "components": {
        "minecraft:enchantments": {
          "minecraft:unbreaking": 3
        }
      }
    }
  },
  {
    "slot": 26,
    "item": {
      "id": "minecraft:jungle_log",
      "count": 64
    }
  }
]

Project description from Modrinth.

Pick your setup

Container Data Dumper by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

19 available setups

Showing the newest 12 of 19 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Container Data Dumper versions and loaders

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.