Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Command storage format

From Minecraft Wiki
Jump to: navigation, search
Information icon.svg
This feature is exclusive to Java Edition.
Grass Block Revision 6.png
This page contains content on features that may be included in the next update to Java Edition.
These features have appeared in Java Edition development versions, but the full update containing these features has not been released for Java Edition yet.

The command_storage_<namespace>.dat files are GZip'd NBT files located in the data folder in a savegame. They store information about the /data command storage in the world. Each namespace in the storage has its own data file.

Folder Structure[edit]

  • (world save directory)
    • data
      • command_storage_<namespace>.dat

Multiple command_storage_<namespace>.dat files may be present in the data directory.

NBT structure[edit]

  • The root tag.
    •  DataVersion: The data version in which this file is saved.
    •  data: The actual saved data.
      •  contents: Contains all the data storage under the namespace of the command storage.
        •  <name>: The data associated with a particular id <namespace>:<name>.
          • Custom content as set by the /data or /execute store commands.

Muitiple compound tags of different names may exist under  contents tag.

History[edit]

Upcoming Java Edition
1.1519w38aAdded command storage data for the level.