Balanced Diet 数据包
此数据包添加了新的营养条。共有 5 种——水果、蔬菜、肉类、谷物以及糖/能量条。保持所有数值尽可能高非常重要。高数值会提供正面效果,而低数值则会导致负面效果。当你进食时这些数值会下降,或者随时间缓慢降低。
水果
- 如果数值高 - 偶尔恢复生命
- 如果数值低 - 偶尔中毒
蔬菜
- 如果数值高 - 抗性提升
- 如果数值低 - 挖掘疲劳
肉类
- 如果数值高 - 力量提升
- 如果数值低 - 挖掘疲劳
谷物
- 如果数值高 - 饱和状态
- 如果数值低 - 饥饿
糖/能量
- 如果数值高 - 速度提升
- 如果数值低 - 缓慢 此条目的运作方式与其他条目略有不同,它的下降速度是其他条目的 5 倍,但可以通过多种食物来补充。另外,我不建议将其完全填满 ;)
更多信息
营养值的增加量基于食物能填充的饥饿值格数。例如,胡萝卜使蔬菜条增加 3,牛排使肉类条增加 8,面包使谷物条增加 5。 例如,吃面包会使你的谷物条增加 5。但其他所有条都有 50% 的概率减少 1。有些食物可以同时增加 2 个或更多条目的数值。 营养条带来的效果强度或频率会根据营养量的多少而增减。
命令
有两个触发命令:/trigger see_ur_nutrition 和 /trigger turn_off_see_ur_nutrition。第一个命令允许玩家查看自己每个条目的营养值。管理员可以使用 /function knize:config 打开配置菜单。
卸载
运行命令 /function knize:unistall 并从 datapacks 文件夹中移除该数据包。
已知问题
- 有时会漏掉食用干海带,因为为了减少延迟,记分板检查间隔为每 1 秒一次而非每刻(tick)。
Balanced Diet Datapack
This datapack adds new nutrition bars. There are 5 of them - fruit, vegetable, meat, grains and sugar/energy bar. It is important to keep all of them as high as possible. High values give positive effects while low values give negative effects. These values go down when you eat something or slowly go down overtime.
Fruit
- if high - occasional regen
- if low - occasional poison
Vegetables
- if high - resistance
- if low - mining fatigue
Meat
- if high - strenght
- if low - mining fatigue
Grains
- if high - saturation
- if low - hunger
Sugar/Energy
- if high - speed
- if low - slowness this bar works slightly different than the others, it decreases 5x faster than the others, but can be increased up by a variety of foods. Also I would not recommend filling it up all the way ;)
More info
The value of increased nutrition is based on how many hunger bars the food fills. for example carrot fills up vegetable bar by 3, steak increases meat bar by 8, bread increases grain bar by 5. For example, eating bread increases your grain bar by 5. but all other bars can decrease by 1 (50% chance). Some foods increase 2 or more bars simultaneously. Effects from nutrition bars increase or decrease in level or frequency by the amount of nutrition.
Commands
There are two trigger commands: /trigger see_ur_nutrition and /trigger turn_off_see_ur_nutrition. The first command enables the player to see how much nutrition does he have in each bar. There is a config menu for admins, use /function knize:config.
Unistalling
Run the command /function knize:unistall and remove the datapack from the datapacks folder
Known Bugs
- Might sometimes miss eating dried kelp, because the scoreboards check every 1s instead of every tick to decrease lag caused.
下载 Balanced Diet
下载 Balanced Diet
下载 Balanced Diet
下载 Balanced Diet
下载 Balanced Diet
下载 Balanced Diet
- 添加了进度以显示此数据包正在被使用
- 添加了进度以告知用户有关 /trigger 命令的信息
- 为此数据包中的各种事物添加了进度
- 进食后营养值降低的概率从 50% 调整为 75%
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
此数据包添加了新的“祝福模式”难度。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
数据包
手持潜影盒时可直接打开,无需将其放置在地面上。只需按住 Shift 并右键点击即可访问你的潜影盒。
数据包
所有我原创内容的合集。
数据包
粉色方块中的千种可能!
评论 0
登录后参与评分
还没有评论,来抢沙发吧