Data packs: installation and creation
What data packs are, where to put them, how to enable and update them, and what can be done without plugins or mods.
Updated August 13, 2026
A datapack is a set of data that changes recipes, loot, advancements, functions, and structures. It works on any core, including vanilla.
Installation
.zip files go into <world>/datapacks/. Then:
datapack list
reload
/reload applies datapacks without a restart, but on a live server it is also a source of strange errors. A restart is more reliable.
What you can do
- Custom crafting recipes.
- Change loot from chests and mobs.
- Advancements (achievements) with custom rewards.
- Functions: sequences of commands triggered by a tick or event.
- Custom structures and generation.
Example structure
mypack/
pack.mcmeta
data/
minecraft/recipes/my_recipe.json
mypack/functions/hello.mcfunction
pack.mcmeta contains pack_format — a format number tied to the game version. A mismatch is the most common cause of “datapack not working”.
Load
Functions with #minecraft:tick run 20 times per second. A datapack that checks all players every tick is as noticeable on TPS as a bad plugin — Spark.
Where to get them
Official datapack platforms and map-making communities. A datapack is data, not code, so it cannot be malicious, but it can break the balance.
Resource packs are a related topic; they change the appearance on the client — Resource pack.
