No Trampling on Farmland
A lightweight mod that prevents farmland from being trampled and degraded, designed to work with minimal performance impact and without introducing dependencies or extra commands.
Usage
Control trampling behavior using vanilla game rules:
players_are_forbidden_to_trample_on_farmland- Prevent players from trampling farmlandno_biological_trampling_on_farmland- Prevent other entities/mobs from trampling farmland
Some settings can be modified in the configuration file
In Forge/NeoForge, the file name can use this command to show
/config showfile no_trampling_on_farmland COMMON
In Fabric, the file name is NoTramplingOnFarmland.toml
How to Install No trampling on farmland (Mod)
No trampling on farmland by yyxxryrx is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4 (latest release: 1.0, file size: 40 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded No trampling on farmland file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version### Bug Fix
- Fixed server crashes in multiplayer mode**: Resolved a critical issue where the server could throw a
NoClassDefFoundError(e.g., missing classes such asorg/antlr/v4/runtime/CharStream) and crash when other players triggered certain logic. - Optimized the mod packaging process**: Ensured that third-party configuration‑parsing libraries bundled with mods, along with their underlying dependencies, are packaged correctly, preventing class‑loading failures caused by environmental differences.
### ⚠️ Update Notes (Important!)
1. **The server must be updated simultaneously**: This issue primarily affects the server environment. **Server administrators are required to replace the server’s mod files with the latest version**; otherwise, the server will remain at risk of crashing.
2. **Configuration is fully compatible**: This update has **not altered** the format or logic of any configuration files. Your existing
.toml configuration files will be **fully compatible and require no changes or reconfiguration**.