Configuration - blocklogicmodding/AgriTech GitHub Wiki

AgriTech is highly configurable through two main files:

Main Config (config/agritech/agritech-common.toml)

Controls mod-wide settings like which mod integrations are enabled.

enableMysticalAgriculture = true
enableFarmersDelight = true
enableArsNouveau = true
enableSilentGear = true

Crop & Soil Config (config/agritech/crops_and_soils.json)

Defines all crops, their compatible soils, and harvested items.

json

{
  "seed": "minecraft:wheat_seeds",
  "validSoils": ["minecraft:farmland"],
  "drops": [
    {
      "item": "minecraft:wheat",
      "minCount": 1,
      "maxCount": 1,
      "chance": 1.0
    },
    {
      "item": "minecraft:wheat_seeds",
      "minCount": 1,
      "maxCount": 2,
      "chance": 0.5
    }
  ]
}

Custom Overrides (config/agritech/agritech_config_overrides.toml)

Add custom crops and soils without editing the main config.

toml

[crops.custom_crop]
seed = "modname:custom_seed"
soil = [
  "minecraft:farmland",
  "modname:custom_soil"
]
drops = [
  { item = "modname:harvest_item", min_count = 1, max_count = 3, chance = 1.0 },
  { item = "modname:custom_seed", min_count = 1, max_count = 2, chance = 0.3 }
]

[soils.custom_soil]
block = "modname:custom_soil_block"
growth_modifier = 0.8