NonZero Farming
This mod fixes the issue with so-called "0-tick" farms that allowed harvesting crops almost instantly. Now plants processed this way will be automatically destroyed.
It's worth noting that starting from Minecraft version 20w12a, the game developers officially eliminated this possibility, but this mod provides additional protection against such exploits.