Hunger's Delight 的作用是什么?
如果你和我一样喜欢农场类模组,并且热衷于烹饪,尤其是使用 Farmer's Delight 时,那么你一定知道这些食物有多顶饱,以至于你可能会好几天都不再进食!Hunger's Delight 旨在解决这个问题。
本模组会随时间推移被动降低你的饥饿值(可配置),且该被动减饥效果可以禁用。行走和潜行也会像冲刺那样产生少量的疲惫值。现在躲在盾牌后面会缓慢消耗体力,持盾时间越长,饥饿值流失越多。最后,睡觉也需要付出代价。如果你想跳过夜晚,你必须带着饥饿醒来,才能享用一顿当之无愧的早餐。所有这些改动共同作用,希望能让你在使用 Farmer's Delight 等食物模组时获得更愉快的 且更具沉浸感 体验。
此外,如果你不喜欢讨厌的生物践踏你的农田,你可以选择和平模式游玩,并依然能从丰盛的餐点中受益,因为饥饿系统现在默认生效。如果你想以常规的和平模式游玩,请在配置文件中禁用此改动。
推荐模组
致谢
我想感谢以下两个模组的作者,因为我从他们的模组中复用了代码,既为了学习如何制作模组,也为了实现本模组的目标。
不兼容模组
ActionHunger
ActionHunger 覆盖了原有的饥饿机制并取而代之,这会导致与任何修改 HungerManager 类的模组不兼容,而本模组正是其中之一。
HungerOnPeaceful
并非完全不兼容,只是你将无法在 Hunger's Delight 的配置文件中禁用其饥饿效果。
TODO 列表:
- 添加吃饱后睡觉的额外效果,例如持续一两分钟的再生效果。
- 食用任何生食可能会引发饥饿效果(待定)
- 修复 Bug
- 为其他行为(如放置方块、破坏方块和战斗)添加可配置的疲惫值。
- 添加来自食物的可配置治疗效果(待定,因为 ActionHunger 可以实现此功能,但它们重写了 HungerManager 的更新方法,导致与任何修改 HungerManager 的模组不兼容)
What does Hunger's Delight do?
If you're like me and you like your farming mods and enjoy cooking a lot, especially with Farmer's Delight, then you also know how much those foods fill you up so much you don't eat for days! Well Hunger's Delight aims to fix that.
This mod will passively reduce your hunger overtime (configurable) and this passive hunger can be disabled. Walking and sneaking will also create a small amount of exhaustion like how sprinting does. Hiding behind your shield will now drain your energy slowly making you lose hunger the longer you hold it up. Lastly, sleeping now has a cost. If you wish to skip the night, you must wake up hungry in order to enjoy a well-deserved breakfast. All of these changes together will hopefully lead to a more enjoyable and immersive experience with food mods like Farmer's Delight.
Additionally, if you don't like pesky mobs trampling on your farm, you can play in Peaceful mode and still benefit from eating your hearthy meals as the hunger system will work by default now. If you want to play with regular Peaceful mode, disable this change in the configuration file.
Recommended Mods
Credits
I would like to credit the authors of these two mods as I have reused code from their mod, both to learn how to mod and to accomplish the goal of this mod.
Incompatible Mods
ActionHunger
ActionHunger overrides the hunger mechanics and supplants its own, which causes incompatibility with any mod that also touches the HungerManager class, which by extension, includes this mod.
HungerOnPeaceful
Not exactly incompatible, simply that you won't be able to disable the hunger from Hunger's Delight config file.
TODO List:
- Add a bonus effect when sleeping with a full belly, something like Regeneration for a minute or two.
- Eating any raw food can cause the hunger effect (this one is a maybe)
- Bugfixing
- Add configurable exhaustion for other actions like placing blocks, breaking blocks and combat.
- Add configurable healing from food (maybe because ActionHunger can do it, but they override the update method of HungerManager which causes incompatibility with any mods that also touches HungerManager)
评论 0
登录后参与评分
还没有评论,来抢沙发吧