No Farmland Trample
Prevents farmland from turning back into dirt when entities land on it.
Features
- Protects farmland from players, mobs, animals, villagers, projectiles, and falling blocks
- Server-side only
- Lightweight mixin-based implementation
- Config file generated on first run
Compatibility
- Minecraft 1.21.11
- Fabric Loader 0.17.3+
- Fabric API 0.139.4+1.21.11
- Java 21+
Installation
- Install Fabric Loader for Minecraft 1.21.11
- Install Fabric API
- Place the mod JAR in your
modsfolder - Start the game or server once to generate
config/no_farmland_trample.json
Configuration
{
"enabled": true,
"preventPlayers": true,
"preventMobs": true,
"preventAnimals": true,
"preventVillagers": true,
"preventProjectiles": true,
"preventFallingBlocks": true
}
Notes
- If
enabledisfalse, the mod does nothing - Each entity type can be disabled individually
- Existing crops continue to grow normally

