← Назад к ресурсам

No Crop Trample

Stop players and mobs from destroying your precious crops!

Modrinth utility

Описание

# 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. ## 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 ` | Toggle protection for empty farmland. | | `/nocroptrample player ` | Toggle player trampling protection. | | `/nocroptrample mob ` | Toggle mob trampling protection. | | `/nocroptrample reload` | Reload the config file from disk. | ## Configuration Config file: `config/nocroptrample.json` ```json { "preventEmptyTrampling": true, "preventPlayerTrampling": true, "preventMobTrampling": true } ``` ## Requirements - Minecraft 26.3+ - Fabric Loader 0.16+ and Fabric API, **or** NeoForge 26.3+ - Java 25+ ## Links - [GitHub](https://github.com/deimos-sh/NoCropTrample) - [Issues](https://github.com/deimos-sh/NoCropTrample/issues)