跳到正文

Harvest Rules

作者:Rainy228

Right-click mature crops to harvest and replant them.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Harvest Rules

Right-click a fully grown crop: you get the harvest, the crop is replanted, done. Harvest Rules does it with zero dependencies, entirely on the server, and lets pack makers decide every detail with tags, a data map and a config.

Features

  • Right-click harvest and replant for wheat, carrots, potatoes, beetroots, nether wart and cocoa, plus most modded crops (anything built on vanilla’s crop block).
  • Fair by design: drops come from the crop’s own loot table with your held tool, so Fortune on a hoe works. One seed from the harvest pays for the replant; no seed, no free replant.
  • Feels vanilla: break particles, the crop’s sound, an arm swing, sculk sensors notice. Cocoa pods keep their facing.
  • Stays out of the way: only mature crops, only the main hand, sneaking with an item keeps vanilla behaviour, sweet berries are untouched.
  • Configurable: require a hoe, hoe durability cost, food exhaustion, experience per harvest.
  • Data-driven: #harvest_rules:harvestable, #harvest_rules:excluded and the harvest_rules:replant data map for unusual crops (custom seed, reset state, growth property).
  • Respects protection: adventure mode, spawn protection and claim mods that guard block breaking.
  • Zero dependencies, server side: no library mods, no mixins, no ticking. Vanilla clients can join and harvest.

Config

serverconfig/harvest_rules-server.toml (or Mods → Harvest Rules → Config):

Option Default
auto_detect_crop_blocks true
require_hoe false
hoe_durability_cost 1
exhaustion 0.005
xp_per_harvest 0
respect_protection true

Tags and data map

  • #harvest_rules:harvestable (block tag): the vanilla crops above.
  • #harvest_rules:excluded (block tag): torchflower and pitcher crops, sweet berry bush.
  • harvest_rules:replant (block data map):
{ "values": { "somemod:pepper_crop": { "seed": "somemod:pepper_seeds", "reset_state": { "age": "0" } } } }

Compatibility

  • Minecraft 26.1.2, NeoForge 26.1.2.107+, Java 25. No other mods required.
  • Install on the server (single player works out of the box). Clients don’t need it.

常见问题

Harvest Rules 支持哪些 Minecraft 版本?

Harvest Rules 支持 Minecraft Java 版 26.1.2,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Harvest Rules 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Rainy228 的其他作品

查看全部 →