MonitoringMinecraft MonitoringMinecraft

No Crop Trample

Мод FabricNeoForge

Мод для Майнкрафт на Fabric и NeoForge: игроки, мобы и снаряды больше не вытаптывают грядки.

838 скачиваний 5 подписчиков
Оцените первым

No Crop Trample

No Crop Trample

A small mod that does one thing: stops farmland from reverting to dirt when entities land on it. No more destroyed wheat fields from a careless jump, a wandering zombie, or a stray arrow.

Targets Minecraft 26.1.x on both Fabric and NeoForge.

Why this mod exists

Minecraft 26.1 is brand new and the popular legacy trample-prevention mods haven't ported yet. This fills the gap with a minimal, fast-loading implementation — no new blocks, no new items, just the fix.

What it does

  • Disables farmland trampling for all entities by default — players, mobs, projectiles.
  • One simple JSON config toggle if you want to turn it off.
  • Fall damage still applies. Only the farmland-destruction path is skipped.

How it works under the hood

  • Fabric: a tiny mixin wraps the turnToDirt(...) call inside FarmlandBlock.fallOn, using MixinExtras' @WrapOperation (bundled with Fabric Loader, no extra dependency).
  • NeoForge: subscribes to the built-in BlockEvent.FarmlandTrampleEvent and cancels it.

Both paths route through the same config-aware decision, so per-entity-type toggles (player-only, mob-only, projectile-only) can be added in a future release without breaking changes.

Configuration

Edit config/nocroptramplelite.json (created on first launch):

{
  "preventTrampling": true
}
Key Default Notes
preventTrampling true When true, no entity can trample farmland. Set false to restore vanilla behaviour.

Restart Minecraft (or the dedicated server) after editing for changes to take effect.

Compatibility with modded crops

Works automatically with:

  • Modded crops planted on vanilla farmland — most common case (Farmer's Delight, most magic-crop mods, etc.).
  • Modded farmland that extends vanilla FarmlandBlock — inheritance carries the protection through.
  • Modded farmland that overrides fallOn but calls super.fallOn(...) — super call routes back into the protected path.

Does not affect:

  • Modded farmland that fully replaces fallOn with its own trample logic (rare).
  • Custom "farmland" blocks that don't extend FarmlandBlock at all.
  • Pot-style growers (Botany Pots, Garden Cloches, etc.) — they don't have trampling to begin with.

Requirements

  • Minecraft 26.1.x
  • Java 25
  • Fabric Loader 0.18.4+ with Fabric API, or NeoForge 26.1+

License

CC0-1.0 — public domain, do whatever you want with it.

Source

https://github.com/kestalkayden/no-crop-trample-lite

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1593 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
HyperGrief
0 онлайн
1.16.5 — 26.2 версия
Лучшая анархия на 2026 год
MigosMc
MigosMc Java + BE
1972 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
AxisMine - ВаниллаPlus
18 онлайн
1.21.4 — 26.1.2 версия
Ванильный мир с сотнями уникальных механик и справедливой игрой! /free, pat-pat, emotecraft, Voice.
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.16.5. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат