Pantry 是一款可配置的食材腐烂与保鲜模组。食材会随时间推移失去新鲜度,妥善储存能延长其保鲜期,同时海水可以被煮沸制成盐。
它在不过度消耗你补给的前提下增添了一丝生存节奏:优先食用旧食材,保留你想保存的食物,并根据周围环境构建合适的储藏设施。即使食材变质,依然可以食用,尽管食用时可能会触发配置中的惩罚效果。

食材随时间老化但不会消失
大多数食材会经历新鲜 (Fresh)、渐老 (Aging)、不新鲜 (Stale) 和变质 (Spoiled) 四个阶段。新鲜食材的行为与原版一致。根据物品类型和你的设置,不新鲜或变质的食材在食用时可能会产生惩罚效果,但 Pantry 绝不会从你的背包中删除它们。
新鲜度进度条让你可以轻松扫描整组食材,且兼容的食材组仍然可以堆叠。当食材组合并时,新鲜度会根据物品数量进行加权计算,因此单个新鲜或老旧的物品无法重置整个堆叠的新鲜度。
新鲜度会带入烹饪过程
小麦、可可豆、南瓜、鸡蛋、蘑菇、海带以及其他用于制作食物的原料也会老化。它们的品质会带入面包、曲奇、派、炖菜、镀金食物以及其他支持的食谱中。烹饪有所帮助,但无法将已经腐坏的原料变成完美的食物。
原版蛋糕遵循相同的规则。其食材会影响最终成品的蛋糕,每一片切片共享同一个新鲜度历史,并且在使用空手按住 Shift 键时,你可以在食用前检查已放置的蛋糕。

保留重要的食材
食材可以进行腌制 (salted)、烟熏 (smoked) 或风干 (dried) 处理。保鲜方法也可以组合使用,例如“腌制 + 烟熏”,而金色食物则使用特有的镀金 (Gilded) 保鲜方式。
保鲜能减缓未来的腐烂速度,并可能恢复部分品质。但它不会抹除食材的历史记录,严重变质的补给也不会恢复到完美状态。

从海洋中提取盐
海水可以用桶或瓶子收集,储存在盐水锅中,并在熔炉中煮沸:
- 1 桶海水 = 12 份盐
- 1 瓶海水 = 4 份盐
- 1 满锅盐水可装满 3 瓶海水
放置的海水行为类似于普通水,但玩家建造的池子无法产生无尽的盐。水可能会重新充满;可提取的盐则不会。

构建更好的储藏设施
密封的地下房间可以减缓腐烂,更深的酒窖会有更多帮助,附近的冰块或铜箱可以改善整体效果。开放的楼梯和通风口会削弱这一效果。岩浆、温暖的地底深处、炎热的气候以及下界会使储藏条件变差。
寒冷和冰冻生物群系能提供少许帮助,而高海拔储藏获得的加成小于标准的酒窖。手持的食材和便携式容器受到的环境影响比固定放置的储藏设施要弱。
没有特殊的酒窖方块。如果房间的功能像酒窖,Pantry 就会将其视为酒窖处理。

配置
Pantry 使用 YetAnotherConfigLib (YACL) 作为其配置界面,并可选支持 Mod Menu。你可以调整新鲜度显示、腐烂速度、食用惩罚、堆叠规则、保鲜机制、海水生成以及环境储藏效果等选项。

兼容性
- 需在客户端和服务端都安装 Pantry
- 支持专用服务器
- Pantry 目前支持一组预定义的 vanilla 食物、原料和配方
- 尚不支持自动适配模组食物;计划提供 Pantry API 注册功能
- Mod Menu 为可选依赖
要求
- Minecraft: Java Edition 26.2
- Java 25 或更高版本
- Fabric Loader 0.19.3 或更高版本
- Fabric API 0.153.0 或更高版本
- YetAnotherConfigLib 3.9.5 或更高版本
- Mod Menu(可选)
Alpha 通知: Pantry 正处于积极开发中。在安装或更新之前,请备份重要世界,特别是在不同 Alpha 版本之间切换时。
Pantry is a configurable food spoilage and preservation mod. Food loses freshness over time, proper storage keeps it fresh longer, and ocean water can be boiled into salt.
It adds a light survival rhythm without deleting your supplies: use older food first, preserve what you want to keep, and build storage suited to the world around it. Spoiled food remains edible, though eating it may carry configured penalties.

Food Ages Without Disappearing
Most foods progress through Fresh, Aging, Stale, and Spoiled stages over world time. Fresh food behaves normally. Depending on the item and your settings, stale or spoiled food may apply eating penalties, but Pantry never deletes it from your inventory.
Freshness bars make batches easy to scan, and compatible batches can still stack. When batches combine, freshness is weighted by item count, so one fresh or old item cannot reset the whole pile.
Freshness Carries Into Cooking
Wheat, cocoa beans, pumpkins, eggs, mushrooms, kelp, and other food-making ingredients age too. Their quality carries into bread, cookies, pies, stews, gilded foods, and other supported recipes. Baking can help, but it cannot turn ruined ingredients into perfect food.
Vanilla cake follows the same rules. Its ingredients affect the finished cake, every slice shares one freshness history, and sneaking with an empty hand lets you inspect a placed cake before eating it.

Preserve What Matters
Food can be salted, smoked, or dried. Preservation methods can also be combined, such as Salted + Smoked, while golden foods use their own Gilded preservation.
Preservation slows future spoilage and can recover some quality. It does not erase a food's history, and badly spoiled supplies will not come back perfect.

Salt From The Ocean
Ocean water can be collected in buckets or bottles, stored in saline cauldrons, and boiled in a furnace:
- 1 Salt Water Bucket = 12 Salt
- 1 Salt Water Bottle = 4 Salt
- 1 full saline cauldron fills 3 Salt Water Bottles
Placed salt water behaves like water, but player-made pools cannot create endless salt. The water may refill; the recoverable salt does not.

Build Better Storage
A sealed underground room can slow decay, deeper cellars can help more, and nearby ice or copper chests can improve a good setup. Open stairways and vents weaken it. Lava, warm depths, hot climates, and the Nether make storage worse.
Cold and freezing biomes help a little, and high-altitude storage gets a smaller bonus than a proper cellar. Carried food and portable containers receive weaker environmental effects than placed storage.
There is no special cellar block. If the room works like a cellar, Pantry treats it like one.

Configuration
Pantry uses YetAnotherConfigLib (YACL) for its config screen, with optional Mod Menu support. Freshness display, spoilage speed, eating penalties, stacking, preservation, salt water, and environmental storage can all be adjusted.

Compatibility
- Install Pantry on both the client and server
- Dedicated servers are supported
- Pantry currently supports a defined set of vanilla foods, ingredients, and recipes
- Automatic support for modded foods is not yet available; Pantry API registration is planned
- Mod Menu is optional
Requirements
- Minecraft: Java Edition 26.2
- Java 25 or newer
- Fabric Loader 0.19.3 or newer
- Fabric API 0.153.0 or newer
- YetAnotherConfigLib 3.9.5 or newer
- Mod Menu (optional)
Alpha notice: Pantry is under active development. Back up important worlds before installing or updating, especially when moving between alpha versions.
评论 0
登录后参与评分
还没有评论,来抢沙发吧