This small vanilla mod prevents crops or farmland from being trampled by mobs and players. Three new gamerules are added.
Gamerule | Default value |
---|---|
secureCrops | false |
secureFarmland | false |
secureFarmlandWithCrops | false |
The mod is only required on the server side, players don't need to have it installed.
Download the .jar file according to the version you want to play, then drop the .jar into the mods folder.
Note that you must have installed the Fabric API.