这个完全可定制的模组为游戏中的所有食物添加了腐烂机制,甚至包括其他模组添加的食物。再也不用看到箱子被食物塞满啦!也不用再建食物农场了!

配置指南
本模组旨在提供极高的自定义性,这意味着你可以自由更改食物在腐烂过程中经历的各个阶段,以及哪些食物会腐烂而哪些不会。 以下是默认配置:
{
"modDataComponentsEnabled": true,
"showInTooltip": true,
"randomiseFoodState": false,
"preventFoodFarms": true,
"maxRandomState": 2,
"exclude": [
"minecraft:golden_apple",
"minecraft:enchanted_golden_apple",
"minecraft:golden_carrot"
],
"foodStates": [
{
"tooltip": "新鲜",
"color": 5635925,
"duration": 1,
"nurtition": "x",
"saturation": "x",
"eatSeconds": "x",
"effects": []
},
{
"tooltip": "可食用",
"color": 16777045,
"duration": 3,
"nurtition": "x/2",
"saturation": "x/2",
"eatSeconds": "x",
"effects": []
},
{
"tooltip": "腐烂",
"color": 16733525,
"duration": -1,
"nurtition": "0",
"saturation": "0",
"eatSeconds": "x*2",
"effects": [
{
"probability": 1.0,
"id": "minecraft:nausea",
"duration": 200,
"amplifier": 1,
"ambient": true,
"showParticles": false,
"showIcon": false
}
]
}
]
}
在修改配置之前,请注意以下几点:
- 所有食物状态必须按顺序排列。最高等级(最新鲜)排在最前面。
- nutrition、saturation 和 eatSeconds 的值本质上是方程,其中 x 代表该物品原始值。它们可以是任何内容,从 "(x / 2) + 1" 到纯数字如 "2" 均可。请注意,x 值不受前一阶段影响,它始终是原始值。
- Duration(持续时间)以世界日为单位测量(这意味着即使你执行
/time set [插入任意数值],你的食物也不会立即全部腐烂)。 - Color(颜色)是一个 RGB 整数值。
- Effects(效果)允许你为特定阶段添加自定义效果(食物仍会保留其原始效果)。
- 当 "modDataComponentsEnabled" 设置为 false 时,模组将主动移除它能检测到的每个物品的腐烂功能。本质上,玩家背包中的所有食物都会重置并变回不会腐烂的正常食物。
- randomiseFoodState 会在你获取物品时随机化其状态,范围由 maxRandomState 决定。如果 maxRandomState 为 2,则你会获得状态 1 - 新鲜 或 状态 2 - 可食用。
为什么制作这个模组?
坦白说,我只是想让我的朋友们受苦。我想也许有人会有类似的想法,或者把它加入到他的硬核世界中……
一如既往,任何错误均由我负责。
This fully customizable mod adds a rotting mechanic to all foods in the game, even to ones added by other mods. No more chest filled with food. No more food farms!

Configuration Guide
This mod was made to be extremely customizable, which means you can freely change what stages the food will go through as it rots, as well as which food will rot and which won't. This is the default config:
{
"modDataComponentsEnabled": true,
"showInTooltip": true,
"randomiseFoodState": false,
"preventFoodFarms": true,
"maxRandomState": 2,
"exclude": [
"minecraft:golden_apple",
"minecraft:enchanted_golden_apple",
"minecraft:golden_carrot"
],
"foodStates": [
{
"tooltip": "Fresh",
"color": 5635925,
"duration": 1,
"nurtition": "x",
"saturation": "x",
"eatSeconds": "x",
"effects": []
},
{
"tooltip": "Edible",
"color": 16777045,
"duration": 3,
"nurtition": "x/2",
"saturation": "x/2",
"eatSeconds": "x",
"effects": []
},
{
"tooltip": "Rotten",
"color": 16733525,
"duration": -1,
"nurtition": "0",
"saturation": "0",
"eatSeconds": "x*2",
"effects": [
{
"probability": 1.0,
"id": "minecraft:nausea",
"duration": 200,
"amplifier": 1,
"ambient": true,
"showParticles": false,
"showIcon": false
}
]
}
]
}
Here are a things you should know before tampering with the config:
- All Food Stages must be in order. The highest one comes first.
- Values for nutrition, saturation, eatSeconds are essentially equations, where x is the original value of the given item. They can be anything, ranging from "(x / 2) + 1" to a plain number like "2". Mark that x value is not affected by the previous stage as it is the original value.
- Duration is measured in world days(Which means even if you do /time set [insert some crazy number] all your food won't immediately rot)
- Color is an rgb integer.
- Effects allow you to add your own effects to a certain stage(The food will still keep it's original effects).
- When "modDataComponentsEnabled" is set to false the mod will actively remove the rotting functionality from every item it can tick. Essentialy all the food in players inventory will reset and become normal food that doesn't rot.
- randomiseFoodState randomises the food items state when you get it, within the range of maxRandomState. maxRandomState of 2 means you would get either 1 - Fresh or 2 - Edible.
Why was this mod made?
Truthfully i just wanted to make my friends to suffer. And i thought maybe someone might have a simillar desire or might add this to his hardcore world...
As always, any mistakes are my own.
下载 Rotting Food
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Rotting Food
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Rotting Food
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Rotting Food
下载 Rotting Food
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Rotting Food
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Rotting Food
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Rotting Food
下载 Rotting Food
下载 Rotting Food
- 修复了 Xparser 库未加载的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
简单的原版生物群系更新,包含有趣的怪物、方块等更多内容!
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
更多生物群系,更多生物,更多工具,为炽热的维度
模组
一堆修复
评论 0
登录后参与评分
还没有评论,来抢沙发吧