Skip to content

Datapack Examples

BONNe edited this page May 7, 2026 · 6 revisions

Default data packs that are shipped together with the mod:

Creating a Datapack

📖 New to datapacks? See the Minecraft Wiki guide on creating datapacks.

Create a datapack inside your world or global datapack folder.

Example path:

.minecraft/saves/<world>/datapacks/your_custom_datapack/

Minimal structure:

your_custom_datapack/
 ├─ pack.mcmeta
 └─ data/

Example pack.mcmeta:

{
  "pack": {
    "pack_format": 9,
    "description": "Animal Pen custom datapack"
  }
}

Use a different pack_format for newer Minecraft versions.

Reloading Datapacks

After editing a datapack, reload it in-game:

/reload

To check which datapacks are active:

/datapack list

Clone this wiki locally