Minecraft Wiki
This article is about the data pack system. For the command, see Commands/datapack. For the resource pack system, see Resource pack.
Information icon.svg
This feature is exclusive to Java Edition. 

The data pack system provides a way for players to further customize their Minecraft experience. Data packs can be used to override or add new advancements, dimensions, functions, loot tables, predicates, recipes, structures, tags, world generation settings, and biomes without any code modification.


Data packs can be placed in the .minecraft/saves/(world)/datapacks folder of a world. Each data pack is either a sub-folder or a .zip file within the datapacks folder. After it is in the folder, a data pack is enabled for that world when the world is reloaded or loaded.

Data packs load their data based on the load order. This order can be seen and altered by using the /datapack command and is stored in the level.dat file.

The player can also select data packs at the world creation screen by clicking the Data Packs button and dragging-and-dropping their data pack folders/zip-files there. This is similar to the Resource Pack selection screen, and allows the player to enable data packs before the world is generated, and easily customize the load order too.


Folder structure[]

More than one directory for different namespaces may exist under the data directory.


A data pack is identified by Minecraft based on the presence of the pack.mcmeta file in the root directory of the data pack, which contains data in JSON format.

  • The root object.
    •  pack: Holds the data pack information.
      •  description: A JSON text that appears when hovering over the data pack's name in the list given by the /datapack list command, or when viewing the pack in the Create World screen.
      •  pack_format: Pack version. If this number does not match the current required number, the data pack displays a warning and requires additional confirmation to load the pack. See #Pack format for a full list of pack format numbers.

pack.mcmeta, as used by the "vanilla" data pack in 1.18, as found in the client and official server jars:

    "pack": {
        "pack_format": 8,
        "description": "The default data for Minecraft"


This folder contains all the data under one or multiple namespaces. It can contain advancements, dimension, dimension_type, functions, loot_tables, predicates, recipes, structures, tags and/or worldgen, folders. The worldgen folder can contain biome, configured_carver, configured_feature, configured_structure_feature, configured_surface_builder, noise_settings, processor_list and template_pool folders.

The dimension, dimension_type and worldgen folders are currently experimental features.

Each advancement, function, loot table, predicate, structure, recipe and tag file can be placed directly in their respective folder but sub-folders are also allowed.

Pack format[]

The table below describes the version range using each pack format number:

Format Versions
4 1.13-1.14.4
5 1.15-1.16.1
6 1.16.2-1.16.5
7 1.17-1.17.1
8 1.18-1.18.1
9 1.18.2
10 1.19


The folder structure of the vanilla data pack:


Java Edition
1.1317w43aAdded data packs.
17w46aAdded /datapack, a command to control loaded data packs.
17w48aData packs can now load custom recipes.
Added the initial pack format version of 4.
17w49aTags can now be created with data packs.
17w49bTags can now be created for functions.
Functions tagged in tick now run at the beginning of every tick.
18w01aAdded set_name function to loot tables.
Functions tagged in load now run once after a (re)load.
Crash reports now list what data packs are enabled.
1.1418w43aTags can now be created for entity types.
1.1519w38aAdded predicates folder where predicates can be defined.
Pre-release 1Changed the pack format number to 5.
1.1620w22aSlightly changed data pack loading to prevent custom data packs from crashing.
If data pack reload fails, changes are not applied and the game continues using previous data.
Changes to data pack list are stored only after successful reload.
If existing data packs prevent the world from loading, the game gives an option to load the world in safe mode, which loads only vanilla data pack.
Added --safeMode option for servers to load only with vanilla data pack.
Game now detects any critical data pack issues, such as required tags being missing, and prevent the world from being loaded.
Pre-release 1Data packs can now be loaded before the world is created.
Data packs can now add and change dimensions and dimension types.
1.16.220w27aData packs can now have a pack.png in the root folder, and display it in the data pack menu.
20w28aCustom worlds now support custom biomes and can now be used in custom dimension generators.
Datapacks can now customize world generation in the worldgen folder
Release Candidate 1Changed the pack format number to 6.
1.1720w45aPack format in version.json has been split into data and resource versions.
20w46aChanged the pack format version to 7.
1.1821w37aChanged the pack format version to 8.
1.18.2Pre-release 1It is now possible to add custom structures in experimental datapacks: the game now generates and stores data-driven configured structures.
A lot of the cave generation is now configurable through data packs.
Changed the pack format version to 9, due to the changes above.
1.1922w11aChanged the pack format version to 10.


Issues relating to "Data pack" are maintained on the bug tracker. Report issues there.

See also[]