No Crop Trample
A lightweight mod for Fabric and NeoForge that prevents farmland from being trampled and reverted to dirt when players or mobs land on it.
Demo
The same test with each setting off and on.
| Off | On | |
|---|---|---|
| Player | ![]() |
![]() |
| Mob | ![]() |
![]() |
| Empty farmland | ![]() |
![]() |
Empty farmland protection only affects unplanted farmland; planted farmland follows the player and mob settings.
Features
- Prevents farmland blocks from reverting to dirt when entities land on them.
- Player and mob trampling can be toggled independently.
- Optional protection for empty (unplanted) farmland.
- No tick handlers, no entity scanning — a Fabric Mixin on Fabric, a native event listener on NeoForge.
- Works server-side only; client install is optional (adds a config screen via ModMenu on Fabric, or NeoForge's built-in mod config screen).
Commands
Requires operator permission level 2.
| Command | Description |
|---|---|
/nocroptrample status |
Show current settings. |
/nocroptrample empty <on|off> |
Toggle protection for empty farmland. |
/nocroptrample player <on|off> |
Toggle player trampling protection. |
/nocroptrample mob <on|off> |
Toggle mob trampling protection. |
/nocroptrample reload |
Reload the config file from disk. |
Configuration
Config file: config/nocroptrample.json
{
"preventEmptyTrampling": true,
"preventPlayerTrampling": true,
"preventMobTrampling": true
}
Requirements
- Minecraft 26.3+
- Fabric Loader 0.16+ and Fabric API, or NeoForge 26.3+
- Java 25+







