A datapack is a set of files that tweaks or extends vanilla Minecraft without needing client side mods. Introduced in Minecraft 1.13, datapacks let server owners and world creators customize recipes, loot tables, world generation, advancements, and game mechanics using Minecraft's built-in systems.
This means players can join without installing anything on their end. They work on pure vanilla Minecraft and are officially supported by Mojang.
What datapacks can change:
- Recipes: Custom crafting, smelting, and smithing recipes
- Loot tables: What drops from mobs, chests, or blocks
- Advancements: Custom achievements and progression systems
- Functions: Automated command sequences that run on events or loops
- World generation: Custom biomes, structures, and dimensions
- Tags: Item groups, block properties, and entity classifications
- Damage types: Custom damage sources and resistances
Datapacks run entirely server side. Only the server needs the datapack installed. Players connecting don't need to download or install anything.
Comparison: Datapacks vs. Mods
While both customize Minecraft, datapacks and mods work very differently:
| Apsect | Datapacks | Mods |
|---|---|---|
| Installation | Datapacks folder | Requires mod loader |
| Client requirement | No requirements | All players must install the mod |
| File types | JSON and .mcfunction | Java code (JAR files) |
| Capabilities | Limited to game features | Can modify anything in the game |
| Performance | Lightweightr | Can be heavy |
| Updates | Usually survive version updates | Often break between major updates |
Datapacks tweak existing mechanics using vanilla's built in systems. Mods can add entirely new mechanics, blocks, items, and systems by modifying game code.
If you want custom crafting recipes or modified loot drops, use a datapack. If you want to add new ores, machines, or dimensions with custom blocks, you need mods.
Popular Datapack Sources
- Vanilla Tweaks: Quality of life improvements like player head drops, custom crafting recipes, and terrain features
- Planet Minecraft: Community created datapacks for all purposes
- Modrinth: Modern datapack hosting with version management
- CurseForge: Large collection of datapacks alongside mods
Always check compatibility. Datapacks made for 1.20 might not work on 1.21 if Mojang changed the data formats.