Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 

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[]

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

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

NBT structure[]

  • The root tag.
    •  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 resource location <namespace>:<path>.
          • Custom content as set by the /data or /execute store commands.
    •  DataVersion: The data version in which this file is saved.

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

History[]

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