Swift Harvest
破坏成熟的作物,它会自动重新种植。 你收获的产物中,有一粒种子会回到土壤中,其余的全部归你所有。
再也不用来回走两遍同一条垄了——以前需要一次去破坏,另一次去重新播种。
功能说明
以正常方式收获作物。在它掉落物品的瞬间,田地就会自动重新播种。
| 作物 | 重新种植为 |
|---|---|
| 小麦 | 小麦种子 |
| 胡萝卜 | 胡萝卜 |
| 马铃薯 | 马铃薯 |
| 甜菜根 | 甜菜种子 |
| 下界疣 | 下界疣 |
从掉落物中精确使用一个物品进行重新种植。如果你破坏一株小麦获得了四颗种子,那么你会保留三颗。无中生有是不可能的,也不会额外扣除任何东西。
使用任何工具甚至徒手都可以触发此效果。幸运附魔依然生效——更大的掉落量意味着在扣除一粒种子后,剩下的更多。
为什么不使用右键点击
这个想法最直观的版本是“右键点击作物即可收获”。这正是其他模组的做法,但有一个原因导致这始终是一个模组功能:
数据包只能响应游戏报告的事件。原版游戏中右键点击作物没有任何作用,因此游戏不会报告任何事件——没有进度触发器被激活,也没有统计数据更新。在真实的 26.2 服务器上使用真实鼠标点击测试了所有候选触发器(item_used_on_block、any_block_use、default_block_use):在石头上放置火把会触发其中两个,但右键点击成熟的小麦则一个都不会触发。
因此,本数据包挂钩的是唯一被报告的时刻:即收获本身。你像往常一样破坏作物——你需要做的只是不再需要手动重新种植。
它不会拖慢你的服务器性能
本数据包不会扫描你的农场,也不涉及逐玩家的射线检测。它仅每秒检查三次掉落的物品。如果地面上没有任何物品,该检查几乎不消耗任何资源。
须知事项
- 手动将种子放置在空地上也会种植它们。有些人喜欢这一点;这是数据包工作机制的副作用,而非隐藏特性。
- 作物会以等级 0 种植,并以原版正常的速度生长。
- 村民农民不受影响;他们本来就会自行重新种植。
- 适用于现有世界。可以随时移除,不会存储任何数据。
数据包还是模组文件?
数据包(.zip)可在所有环境下运行——原版、Paper、Spigot、Fabric、NeoForge——并涵盖 Minecraft 1.18 至 26.4。
对于 Minecraft 26.3,还有两个模组文件,如果你更愿意像管理其他模组一样管理此内容:
| 加载器 | 文件 | 依赖项 |
|---|---|---|
| Fabric | swift-harvest-fabric-26.3.jar |
Fabric API |
| NeoForge | swift-harvest-neoforge-26.3.jar |
无其他依赖 |
这是同一个数据包,不包含额外代码。将文件放入 mods/ 目录;移除它即可关闭重新种植功能。这两个文件均在各自加载器的真实 26.3 服务器上运行过:五种作物均能重新种植。作为对照,同一台服务器未安装该文件时,没有任何作物重新种植。
兼容性
Minecraft 1.18 至 26.4 —— 共 36 个游戏版本。
在此期间,Minecraft 的数据格式更改了 18 次,因此提供的是每种格式一个下载,而不是一个假装兼容所有版本的文件。请选择与你的版本匹配的文件;版本列表会明确告诉你哪个对应哪个。
| 1.18 – 1.19.4 | 四个下载 |
| 1.20 – 1.20.6 | 四个下载 |
| 1.21 – 1.21.11 | 七个下载 |
| 26.1 – 26.4 | 三个下载 |
- 适用于原版、Fabric、Paper、Spigot、Purpur、Folia、NeoForge —— 它是一个数据包
- 仅限服务端。 玩家无需安装任何内容。
- 仅与改变作物掉落物的其他数据包冲突
每个下载都经过测试,而非假设
每个文件都已加载到其对应的真实 Minecraft 版本服务器上。对于五种作物中的每一种,测试流程如下:设置一株成熟的植物,破坏它,然后检查是否有一株等级为 0 的新植物站在那里,且剩余的堆叠物品仍在地面上。只有全部五项测试通过后才会发布该下载。
如果你之前下载过此内容
早期版本无法工作——游戏中没有任何反应。该版本已不再列出。
它的文件夹名为 funktions,文件后缀为 .mcfunktion;Minecraft 仅读取 function/ 和 .mcfunction。由于没有函数标签,即使文件名正确也无法启动。工具检查查看了一个名为 Dimensions 的 NBT 路径,但该路径并不存在。此外,从未检测到右键点击——旧代码仅检查作物是否恰好位于你前方两个方块处。在测试服务器上加载时会报错 Unknown function harvest:tick。
它还声称支持自 1.10 以来的 55 个游戏版本——Minecraft 直到 1.13 才有数据包,且其 pack_format 仅覆盖一个版本。现在这些版本都有正确的下载,且每个都经过测试。
本次发布是完全重写版,且经过测试。对下载过旧版本的人表示歉意。
常见问题
我需要锄头吗? 不需要。任何工具均可使用,徒手也可以。
我会拿回种子吗? 你会获得整个掉落物减去用于重新种植的那一个物品。
幸运附魔还有效吗? 有效。掉落物遵循原版机制;仅从中取用一个物品。
它能在我建造的其他玩家的农场上工作吗? 可以,在世界上的任何地方均可生效。
我还能以正常方式耕种吗? 可以。破坏、骨粉、村民、红石农场——所有原有方式均未改变。
Swift Harvest
Break a grown crop and it plants itself again. One seed from what you just harvested goes back into the ground, the rest is yours.
No more walking the same row twice — once to break, once to replant.
What it does
Harvest a crop the normal way. The moment it drops, the field is sown again.
| Crop | Replants as |
|---|---|
| Wheat | Wheat seeds |
| Carrots | Carrot |
| Potatoes | Potato |
| Beetroot | Beetroot seeds |
| Nether wart | Nether wart |
Exactly one item from the drop is used for replanting. Break a wheat plant that gives you four seeds and you keep three. Nothing is created out of nothing, and nothing extra is taken.
It works with any tool and with your bare hands. Fortune still works — a bigger drop simply means more left over after the one seed goes back.
Why it does not use right-click
The obvious version of this idea is "right-click a crop to harvest it". That is what mods do, and there is a reason it is always a mod.
A datapack can only react to events the game reports. Right-clicking a crop in
vanilla does nothing at all, so the game reports nothing — no advancement
trigger fires, no statistic moves. Tested on a real 26.2 server with a real
mouse click against every candidate trigger (item_used_on_block,
any_block_use, default_block_use): placing a torch on stone fires two of
them, right-clicking ripe wheat fires none.
So this pack hooks the one moment that is reported: the harvest itself. You break the crop as always — the replanting is what you no longer have to do.
It does not slow your server down
There is no scanning of your farms and no per-player raycast. The pack looks at dropped items only, three times a second. With nothing lying on the ground that check costs nothing at all.
Good to know
- Dropping seeds by hand onto empty farmland plants them too. Some people like this; it is a side effect of how the pack works, not a hidden feature.
- The crop is planted at age 0 and grows at the normal vanilla speed.
- Villager farmers are unaffected; they already replant on their own.
- Works on existing worlds. Safe to remove at any time — nothing is stored.
Datapack or mod file?
The data pack (.zip) works everywhere — vanilla, Paper, Spigot, Fabric,
NeoForge — and covers Minecraft 1.18 to 26.4.
For Minecraft 26.3 there are also two mod files, if you would rather manage this like any other mod:
| Loader | File | Needs |
|---|---|---|
| Fabric | swift-harvest-fabric-26.3.jar |
Fabric API |
| NeoForge | swift-harvest-neoforge-26.3.jar |
nothing else |
It is the same pack, without extra code. Put the file into mods/; remove it to
turn the replanting off. Both files were run on a real 26.3 server of their own
loader: all five crops replant. As a control, the same server without the file
replants none.
Compatibility
Minecraft 1.18 all the way to 26.4 — 36 game versions.
Minecraft changed its data format 18 times across that range, so there is one download per format, not one file pretending to fit everything. Pick the one that matches your version; the version list tells you exactly which is which.
| 1.18 – 1.19.4 | four downloads |
| 1.20 – 1.20.6 | four downloads |
| 1.21 – 1.21.11 | seven downloads |
| 26.1 – 26.4 | three downloads |
- Vanilla, Fabric, Paper, Spigot, Purpur, Folia, NeoForge — it is a datapack
- Server-side only. Players install nothing.
- Conflicts only with other packs that change crop drops
Every download is tested, not assumed
Each file was loaded onto a real server of its own Minecraft version. For every one of the five crops the test sets a ripe plant, breaks it, and then checks that a new plant at age 0 stands there and that the leftover stack is still on the ground. A download only ships if all five pass.
If you downloaded this before
The earlier version did not work — nothing happened in game at all. It is no longer listed.
Its folder was called funktions and its files ended in .mcfunktion; Minecraft
only reads function/ and .mcfunction. There were no function tags, so nothing
would have started even with the right names. The tool check looked at an NBT path
called Dimensions, which does not exist. And a right-click was never detected at
all — the old code only checked whether a crop happened to be two blocks in front of
you. Loading it on a test server gave Unknown function harvest:tick.
It also claimed to support 55 game versions going back to 1.10 — Minecraft did not
even have data packs until 1.13, and its pack_format covered exactly one release.
Those versions now have proper downloads, each one tested.
This release is a full rewrite, and it is tested. Sorry to anyone who downloaded the old one.
FAQ
Do I need a hoe? No. Any tool works, and so do bare hands.
Do I get the seed back? You get the whole drop minus the one item used to replant.
Does Fortune still work? Yes. The drop is vanilla; only one item is taken from it.
Does it work on farms other players built? Yes, anywhere in the world.
Can I still farm the normal way? Yes. Break, bone meal, villagers, redstone farms — all unchanged.
下载 Swift Harvest Datapack, Crops Replant Themselves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swift Harvest Datapack, Crops Replant Themselves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swift Harvest Datapack, Crops Replant Themselves
下载 Swift Harvest Datapack, Crops Replant Themselves
下载 Swift Harvest Datapack, Crops Replant Themselves
下载 Swift Harvest Datapack, Crops Replant Themselves
下载 Swift Harvest Datapack, Crops Replant Themselves
下载 Swift Harvest Datapack, Crops Replant Themselves
下载 Swift Harvest Datapack, Crops Replant Themselves
下载 Swift Harvest Datapack, Crops Replant Themselves
现在也支持作为 NeoForge 模组使用。
与数据包下载相同的资源包,无需额外代码——将文件放入 mods/ 目录即可。
在真实的 Minecraft 26.3 NeoForge 服务器上运行:所有五种作物在收获后会自动重新种植。而同一服务器若未加载此文件,则不会自动重新种植任何作物。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
数据包
手持潜影盒时可直接打开,无需将其放置在地面上。只需按住 Shift 并右键点击即可访问你的潜影盒。
评论 0
登录后参与评分
还没有评论,来抢沙发吧