-
Notifications
You must be signed in to change notification settings - Fork 1
Datapack Structure
deonjonker123 edited this page Jun 13, 2026
·
3 revisions
A complete compat datapack for AT2 follows this directory structure:
your_compat_pack/
├── pack.mcmeta
└── data/
└── agritechtwo/
├── tags/
│ └── item/
│ └── tree_soils.json ← add new soils to existing tags
├── data_maps/
│ └── item/
│ ├── fertilizers ← new fertilizers
│ └── soil_modifiers ← soil growth modifiers
└── recipe/
└── planter/
├── crop/
│ └── yourmod/
│ ├── seed_one.json
│ └── seed_two.json
└── tree/
└── yourmod/
└── sapling_one.json
{
"pack": {
"pack_format": 101.1,
"description": "Your mod compatibility for Agritech"
}
}pack_format 101.1 targets NeoForge 26.1.x. Check pack format versions if targeting a different version.
Place the datapack folder (or zip it) into:
saves/<world_name>/datapacks/
Then run /datapack enable "file/your_compat_pack" in-game, or reload with /reload.
To change drops or drop chances on an existing recipe, create a file at the exact same path as the original.
Example — override wheat seeds to drop more wheat:
data/agritechtwo/recipe/planter/crop/minecraft/wheat.json
{
"type": "agritechtwo:crop",
"seed": "minecraft:wheat_seeds",
"soils": [
"#agritechtwo:farmland_soils"
],
"drops": [
{
"item": "minecraft:wheat",
"min": 3,
"max": 6,
"chance": 1.0
},
{
"item": "minecraft:wheat_seeds",
"min": 1,
"max": 2,
"chance": 0.4
}
]
}or override MA air seeds to drop more essences and no seeds:
data/agritechtwo/recipe/planter/crop/mysticalagriculture/air_seeds.json
{
"type": "agritechtwo:crop",
"seed": "mysticalagriculture:air_seeds",
"soils": [
"#agritechtwo:ma_tier1_soils"
],
"drops": [
{
"item": "mysticalagriculture:air_essence",
"min": 6,
"max": 12,
"chance": 1.0
}
]
}