S✦SHADYCRAFT HUBWIKI & FIELD GUIDEMinecraft Java 26.2
ENBG
Login

New mods · GUIDE

Living Soil

Version 1.0.0 Under construction

Farmland has fertility. Monoculture exhausts it; crop rotation, beans, compost and fallow land restore it.

No additional Shady mods required.

Game & platform requirements

Fabric Loader ≥ 0.20.1Minecraft Java ~26.3Java ≥ 25Fabric API *

A Fabric mod for Minecraft Java Edition 26.3 that gives farmland fertility. Planting the same crop again and again exhausts the soil. Crop rotation, beans, compost and leaving land fallow restore it.

Requirements

Version
Minecraft Java Edition 26.3
Fabric Loader 0.20.1 or newer
Fabric API 0.166.0+26.3 or newer (built and tested with 0.166.0+26.3)
Java 25 or newer

Gameplay

Fertility

Every block of farmland has a fertility value from 0 to 10. Farmland that has never been tracked starts at 8.

What happens Effect on the farmland underneath
Harvest a mature crop that is the same as the previous harvest on this block (monoculture) −2
Harvest a mature crop that is different from the previous one (crop rotation) −1
Harvest mature Beans (legumes return nitrogen) +2
Use Compost on the farmland or on the crop above it +3
Leave the farmland empty (fallow). On each random tick there is a 25 % chance of +1

Only fully grown crops change the soil. This works for every block that extends vanilla CropBlock: wheat, carrots, potatoes, beetroot, beans, and crops from other mods built the same way.

What fertility does

Fertility Growth Harvest
8 – 10 normal +1 extra of the main produce
6 – 7 normal normal
4 – 5 20 % of growth ticks skipped normal
3 50 % of growth ticks skipped normal
1 – 2 50 % of growth ticks skipped halved
0 75 % of growth ticks skipped halved

When the harvest is halved, every dropped stack keeps half its items (odd items have a 50 % chance). The mod always leaves at least one seed so you can replant.

A good routine looks like this: wheat → carrots → beans → potatoes → beans → …, with some compost now and then.

New content

Item / block How to get it Use
Beans 6 % chance to drop when breaking short grass or tall grass. Mature beans drop 1 bean plus a Fortune-boosted bonus. Plant on farmland (4 growth stages, bone meal works). Edible: 3 hunger, like a carrot. Bees can grow them.
Compost Shapeless recipe: Bone Meal + Rotten Flesh + Dirt + any Leaves → 2 Compost Right-click farmland (or the crop on it): +3 fertility. It does nothing when the soil is already at 10.
Soil Probe Copper Ingot on top of two Sticks, in a vertical line Right-click farmland (or the crop on it) to see a fertility bar (green / yellow / red), the value and the last harvested crop.

The Soil Probe and Compost are in the Tools & Utilities creative tab. Beans are in Natural Blocks.

Recipes

Soil Probe          Compost (shapeless, gives 2)
    C               Bone Meal + Rotten Flesh + Dirt + any Leaves
    S
    S               C = Copper Ingot, S = Stick

How it works (technical)

  • Fertility is stored per chunk with the Fabric Data Attachment API (livingsoil:soil_data). It is saved with the world, and the chunk is marked dirty on every change. The mod stores the fertility and the last crop ID for each farmland position.
  • Growth: a Mixin at the head of CropBlock.randomTick cancels a share of random ticks, based on the fertility of the farmland below.
  • Fallow regeneration: a Mixin at the end of FarmlandBlock.randomTick.
  • Harvest changes: Fabric's LootTableEvents.MODIFY_DROPS. Drops are adjusted and fertility is updated whenever a mature crop's loot is generated. This includes harvests by players, water and pistons.
  • The beans crop is added to the vanilla minecraft:crops and minecraft:bee_growables block tags.

Translations

English (en_us) and Bulgarian (bg_bg).

Known limitations

  • Fertility data stays with a block position even if the farmland is turned back into dirt and tilled again. The soil "remembers".
  • Stem crops (melon, pumpkin) and other non-CropBlock plants are not affected.
  • /loot ... mine on a mature crop also changes fertility, because it uses the same loot path as a real harvest.

In-game screenshots

All screenshots use the English game interface.

Checked against the repository · 2026-11-16
xMrShadyx / Minecraft · revision d6974df5