EverCrops
在你离开农场时,作物会继续生长。
是否厌倦了跋涉回你的小麦田,却发现它仍停留在你离开时的等级?EverCrops 解决了这个问题。原版作物仅在区块加载时进行更新(tick),这意味着如果你每周才访问一次基地,作物实际上永远不会生长。EverCrops 让你的作物尊重你离线的时间。
工作原理
EverCrops 不会在未加载的区块上模拟生长过程(那样会非常消耗性能并导致卡顿)。相反,它会追踪每个作物上次更新的时间,并在区块重新加载后的下一次随机更新时,根据经过的游戏时间追赶进度。
当放置作物时,EverCrops 会注册该作物并打上当前的游戏时间戳。此后,每次你离开再返回,经过的时间都会作为追赶生长量应用。离开一小时、一天或一周——当你回来且区块重新加载时,你的作物会推进,就像它们一直在更新一样。最终结果与区块持续加载时相同,但你在离线期间没有任何额外开销。
已有作物: 在安装 EverCrops 之前世界中已存在的作物,会在其所在区块靠近你并首次重新加载时被注册,因此它们将从那一刻开始追赶进度。
注意: 在单人游戏中,世界仅在你游玩时进行更新。EverCrops 基于经过的游戏内时间来追赶作物,而非现实时间,因此关闭游戏明天再打开并不会加速你的农场。
支持的作物
- ? 小麦
- ? 胡萝卜
- ? 马铃薯
- ? 甜菜根
- ? 西瓜藤(包括果实蔓延)
- ? 南瓜藤(包括果实蔓延)
- ? 甜浆果丛
- ?️ 下界疣
- ? 可可豆荚
- ? 仙人掌
- ? 海带
- ? 树苗(橡树、白桦、云杉、丛林、金合欢、深色橡木、樱花、红树林以及继承自
SaplingBlock 的模组树苗)
- ✨ 大多数继承自原版
CropBlock 的模组作物
兼容性
EverCrops 仅使用 @Inject、@Accessor 和 @Invoker mixin —— 没有覆盖,也没有替换。它不引入任何自定义方块或实体方块。这使得它与其它基于 mixin 的模组广泛兼容,并且卸载它是安全的:你的世界保留所有现有的作物,只是它们恢复为原版行为。
- ✅ 对服务器端友好(客户端无需安装即可生效生长逻辑)
- ✅ 无世界生成更改
- ✅ 无新物品或方块
- ✅ 可与其它继承
CropBlock / StemBlock 的作物及农业类模组共存
为什么使用 EverCrops?
- 远程基地保持生产力。 在偏远的哨站建造农场,回来时真的能找到食物。
- 适合多人游戏。 在服务器上,偶尔登录的玩家不会受到惩罚。
- 轻量级。 无后台更新,无额外实体方块,无区块加载。
- 仅追赶进度。 作物永远不会比原版规则下走得更远 —— 只是不再变慢。
命令
EverCrops 附带管理/调试命令 /evercrops(需要 OP 等级 2)。所有命令都针对给定位置的方块。
| 命令 |
用途 |
/evercrops inspect <pos> |
打印作物跟踪的状态:位置、方块、年龄、最后调用/最后生长的游戏时间、最后的光照等级以及计算出的差值。 |
/evercrops tick <pos> |
强制对作物执行单次随机更新,以便你可以验证行为而无需等待。 |
/evercrops simulate <pos> <ticks> |
将作物的跟踪“最后调用”和“最后生长”时间推进指定的游戏刻数,然后对其进行更新 —— 用于测试在长时间缺席情况下追赶算法的行为。 |
这些命令旨在供服务器管理员和整合包调试使用。它们对正常游戏玩法没有影响。
配套模组
搭配 EverFurnace 使用,为你的熔炉、高炉和烟熏炉提供相同的追赶处理。
许可证
采用 LGPL-3.0 许可证。源代码可在 GitHub 获取。
EverCrops
Crops keep growing while you're away from your farm.
Tired of trekking back to your wheat farm only to find it stuck at the same age it was when you left? EverCrops fixes that. Vanilla crops only tick when their chunk is loaded, which means a base you visit once a week effectively never grows. EverCrops makes your crops respect the time you spent away.
How it works
EverCrops doesn't simulate growth on unloaded chunks (that would be expensive and laggy). Instead, it tracks when each crop last ticked, and on the next random tick after the chunk reloads, it catches the crop up based on how much game time has elapsed.
When a crop is placed, EverCrops registers it and stamps it with the current game time. From then on, every time you leave and return, the elapsed time is applied as catch-up growth. Walk away for an hour, a day, a week — when you come back and the chunk reloads, your crops advance as if they had been ticking the whole time. Same end result as if the chunk had stayed loaded, but with zero overhead while you're away.
Pre-existing crops: Crops that already existed in your world before EverCrops was installed get registered the first time their chunk reloads near you, so they'll start catching up from that point forward.
Note: In singleplayer, the world only ticks while you're playing. EverCrops catches crops up based on in-game time elapsed, not real-world time, so closing the game and coming back tomorrow won't fast-forward your farm.
Supported crops
- ? Wheat
- ? Carrots
- ? Potatoes
- ? Beetroots
- ? Melon stems (including fruit spread)
- ? Pumpkin stems (including fruit spread)
- ? Sweet berry bushes
- ?️ Nether wart
- ? Cocoa pods
- ? Cactus
- ? Kelp
- ? Saplings (oak, birch, spruce, jungle, acacia, dark oak, cherry, mangrove, and modded saplings that extend
SaplingBlock)
- ✨ Most modded crops that subclass vanilla
CropBlock
Compatibility
EverCrops uses only @Inject, @Accessor, and @Invoker mixins — no overwrites, no replacements. It introduces no custom blocks and no block entities. This makes it broadly compatible with other mixin-based mods and means uninstalling it is safe: your world keeps all its existing crops, they just go back to vanilla behavior.
- ✅ Server-side friendly (clients don't need it installed for the growth logic to work)
- ✅ No worldgen changes
- ✅ No new items or blocks
- ✅ Works alongside other crop and farming mods that subclass
CropBlock / StemBlock
Why use EverCrops?
- Long-distance bases stay productive. Build a farm at your remote outpost and actually find food when you come back.
- Multiplayer-friendly. On servers, players who log in occasionally aren't penalized.
- Lightweight. No background ticking, no extra block entities, no chunk-loading.
- Catch-up only. Crops never advance further than they would have under vanilla rules — just no slower.
Commands
EverCrops ships with admin/debug commands under /evercrops (requires op level 2). All commands target the block at the given position.
| Command |
Purpose |
/evercrops inspect <pos> |
Print the crop's tracked state: position, block, age, last-call/last-growth game times, last light levels, and computed deltas. |
/evercrops tick <pos> |
Force a single random tick on the crop, so you can verify behavior without waiting. |
/evercrops simulate <pos> <ticks> |
Advance the crop's tracked "last call" and "last growth" times by a number of game ticks, then tick it — useful for testing how the catch-up math behaves over long absences. |
These are intended for server admins and modpack debugging. They have no effect on normal gameplay.
Companion mods
Pair with EverFurnace to give the same catch-up treatment to your furnaces, blast furnaces, and smokers.
License
Licensed under LGPL-3.0. Source available on GitHub.
评论 0
登录后参与评分
还没有评论,来抢沙发吧