MinecraftHub.io
Explainer

What a data pack is in Minecraft Java Edition

A data pack is a Java Edition folder or zip that rewires recipes, loot, advancements, world generation and functions for one world. This page covers its limits, how it differs from mods and resource packs, and what pack format means.

Published Checked

A data pack is a folder or .zip file with a pack.mcmeta file that changes how a Java Edition world behaves: recipes, loot, advancements, world generation and command functions. It runs in vanilla Minecraft, applies to one world at a time, and has no Bedrock Edition twin under that name. Bedrock uses behavior packs.

Facts below come from the Minecraft Wiki, the CurseForge support pages and the wiki's pack format tables, all read on 5 November 2026. We read these pages. We did not install or test any data pack for this article.

What a data pack is in Minecraft Java Edition

The wiki defines a data pack as "a collection of data used to configure a number of features of Minecraft". The only mandatory file is pack.mcmeta. Everything else sits under a data folder, split into namespaces so packs from different authors do not collide.

Vanilla itself is defined this way. The wiki says the definitions of vanilla features live in a built-in data pack, and that Mojang's experiments (Minecart Improvements, Redstone Experiments and Villager Trade Rebalance on Java Edition) are bundled data packs you switch on when creating a world.

What a data pack can change

The wiki lists the folders a data pack can fill. Among them are advancements, loot tables, recipes, predicates, enchantments, structures, dimensions and biomes, plus .mcfunction files, which are plain lists of commands. A data pack can also change terrain through the worldgen folders (noise settings, density functions, placed features, structure sets).

Packs stack in a load order you can see and change on the Data Packs screen or with the /datapack command. If the same file exists in two packs, the last one wins. Tag files are the exception: unless they set "replace": true, they merge with earlier packs.

What a data pack cannot do

A data pack holds data and commands, not new program code. CurseForge's support page draws the line this way: mods add new items or systems and need external code, while data packs run natively in vanilla on a per-world basis. Textures, models, block states and sounds belong to resource packs, per the wiki's pack format page.

Some features carry extra limits. The wiki marks many folders (dimensions, enchantments, variants, trims and others) as experimental settings. A world using them shows a warning screen, cannot be played on Realms, and needs a world or server restart rather than /reload to pick up changes.

How a data pack differs from a mod and a resource pack

What each kind of pack holds, from the Minecraft Wiki pack format page and CurseForge support, read 5 November 2026
KindWhat it holdsWhere it applies
Data packJSON definitions, .mcfunction and .nbt files for recipes, loot, advancements, worldgen and similarOne world, Java Edition only
Resource packTextures, models, block states, sounds and text assetsNamed separately from data packs on the wiki
ModNew items or systems, with external code (CurseForge support)Not run natively in vanilla Minecraft the way data packs are (CurseForge support)

For the server-side comparison, including plugins, read Minecraft plugins vs mods vs data packs. To see how a mod differs in detail, read what a Minecraft mod is.

Why data packs work per world

A data pack lives inside the world it affects. For an existing world, the wiki puts it in .minecraft/saves/<world>/datapacks. For a new world, you add it from the Data Packs button on the Create New World screen. On a multiplayer server, it goes in the server world's datapacks folder, and the load order is stored in that world's level.dat file.

The same pack does nothing in your other worlds until you add it there. Our install guide for data packs covers the steps, and adding data packs to a server covers the server case. Packs that change world generation only affect newly generated chunks.

What the pack format number means for compatibility

Pack format is a number in pack.mcmeta that tells Minecraft which Java Edition releases the pack was written for. If it is higher than the number the game supports, the pack appears as incompatible. Since snapshot 25w31a, pack.mcmeta uses min_format and max_format fields instead of a single pack_format.

Data pack format numbers by Java Edition release, from the Minecraft Wiki pack format page, read 5 November 2026
Java releaseData pack formatpack.mcmeta fields
1.21 to 1.21.148pack_format
1.21.9 to 1.21.1088.0min_format and max_format
1.21.1194.1min_format and max_format
26.1 to 26.1.2101.1min_format and max_format
26.2107.1min_format and max_format
26.3121.0min_format and max_format

The wiki warns that its data pack format tables are out of date, and its 26.3 row still says more information is needed. Since 1.21.9 the number can carry a minor part, raised instead of the major part when changes are non-breaking. Our page on pack format goes deeper.

What a data pack means if you use mods or a server

Data packs run natively in vanilla Minecraft, according to CurseForge's support page, so a vanilla world can use them. Browse the data pack listing for projects we list, or read our roundup of popular data packs.

What Bedrock uses instead of data packs

The wiki states that data packs are exclusive to Java Edition and points to behavior packs for the similar Bedrock system. Bedrock's experiments are toggles in world options, some of them in internal behavior packs or resource packs. For that side, read what Minecraft add-ons are on Bedrock.

Sources

  1. 1.Data pack, Minecraft Wiki (minecraft.wiki, read 5 November 2026)
  2. 2.Pack format, Minecraft Wiki (minecraft.wiki, read 5 November 2026)
  3. 3.Experiments, Minecraft Wiki (minecraft.wiki, read 5 November 2026)
  4. 4.How to Load Data Packs into Your Minecraft World, CurseForge support (modified 3 August 2025)

Related guides and articles.