No Crop Trample

模组

· 作者 Murqin

阻止玩家和生物破坏你珍贵的作物!

0 本站下载 0 关注 更新于 1 个月前

最新 1.6+backport.1.20-1.20.4 · 1.20.4 · Fabric

一键开服(送7天)

No Crop Trample

一款适用于 Fabric 和 NeoForge 的轻量级模组,可防止农田在玩家或生物踩踏时退化为泥土。

演示

以下测试展示了各项设置关闭与开启时的效果对比。

关闭 开启
玩家 Player trampling prevention off: farmland turns to dirt Player trampling prevention on: farmland stays intact
生物 Mob trampling prevention off: farmland turns to dirt Mob trampling prevention on: farmland stays intact
空闲农田 Empty farmland trampling prevention off: farmland turns to dirt Empty farmland trampling prevention on: farmland stays intact

空闲农田的保护仅对未种植的农田生效;已种植的农田遵循玩家和生物的踩踏保护设置。

功能

  • 防止实体落在农田上时导致其退化为泥土。
  • 玩家和生物的踩踏保护可独立开关。
  • 可选的空闲(未种植)农田保护。
  • 无 tick 处理器,无实体扫描 —— Fabric 端使用 Fabric Mixin,NeoForge 端使用原生事件监听器。
  • 仅在服务器端运行;客户端安装为可选(在 Fabric 端通过 ModMenu 添加配置界面,或在 NeoForge 端使用内置模组配置界面)。

命令

需要至少等级 2 的操作员权限。

命令 描述
/nocroptrample status 显示当前设置。
/nocroptrample empty <on|off> 切换空闲农田的保护状态。
/nocroptrample player <on|off> 切换玩家踩踏保护状态。
/nocroptrample mob <on|off> 切换生物踩踏保护状态。
/nocroptrample reload 从磁盘重新加载配置文件。

配置

配置文件:config/nocroptrample.json

{
  "preventEmptyTrampling": true,
  "preventPlayerTrampling": true,
  "preventMobTrampling": true
}

依赖

  • Minecraft 26.3+
  • Fabric Loader 0.16+ 及 Fabric API,或 NeoForge 26.3+
  • Java 25+

链接

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源