本模组的全新重写版本现已上线,请访问以下项目链接查看:Balanced Diet: Variety is Vital
目的
主要是为了让我有动力去关注除了鸡/牛肉和金蔬菜以外的其他食物。不过,它的实现方式能够从多个方面改善游戏体验:
- 尝试新食物的理由
- 避免不必要的伤害(提高跑酷技巧、MLL水桶技巧、安全旅行等)
- 更困难的生存体验(但不会过于限制或令人烦躁)
它旨在增加一定的难度,而不仅仅是让游戏变得极难,而是让玩家开始考虑这些因素。
详情
简而言之,它创建了一个挑战,在玩家食用独特食物之前会限制生命恢复。完成“A Balanced Diet”成就中的所有食物后,将移除所有生命恢复限制。
然而,该挑战可以在游戏中禁用,这仅保留一个用于成就的质量-of-life(QoL)追踪器。
新的追踪器
将解锁一个新的进度标签页,显示玩家在原版“A Balanced Diet”进度中已吃和未吃的食物(完整概览见画廊)。
数据包有两种模式:
这两种模式可以通过以下命令在游戏中自由切换:
/function balanced_diet:mode/tracker
/function balanced_diet:mode/challenge
无论处于哪种模式,进度的推进都会继续。每个玩家的进度是独立追踪的,不需要与其他玩家处于同一模式。
挑战模式
(默认启用)
游戏开始时,你总共有10颗心,与正常情况相同。然而,只有1颗心是正常的红心,其余9颗是黄色的吸收之心。一旦失去,吸收之心不会自然再生。
每食用4种独特的食物,你将永久获得1颗红心:
吸收之心再生
每天黎明时,吸收之心会再生以填满全部10颗心的槽位,无论玩家是否睡觉。不过,额外的吸收之心永远不会被移除,因此如果你食用了许多独特食物且未受到伤害,可能会出现永久的额外生命值。
死亡重生后,吸收之心也会再生。
完成详情
由于四舍五入的原因,最后2颗心需要6种食物,而不是4种。
所需食物数量与红心对应表
| 独特食物数量 |
红心数量 |
| 0 |
1 |
| 4 |
2 |
| 8 |
3 |
| 12 |
4 |
| 16 |
5 |
| 20 |
6 |
| 24 |
7 |
| 28 |
8 |
| 34 |
9 |
| 40 |
10 |
性能
无可检测的性能影响。所有追踪均通过进度系统实现,与原版游戏中的追踪方式相同。仅在tick上运行几个简单的函数。
局限性
-
如果添加到已有世界中,数据包将无法识别你在添加它之前已经吃过的食物。
-
吸收之心的增加只能以2颗心为单位进行。当只需要1颗心时,会自动造成1颗心的伤害以保持平衡。系统中有检查机制,确保在不必要时不会造成伤害。
-
玩家将持续处于吸收效果下。虽然粒子效果已被禁用,但在物品栏中仍可以看到效果处于激活状态。
卸载
要卸载并删除数据包的所有痕迹,请运行以下命令:
/function balanced_diet:uninstall
注意,完成后会有通知提示你使用 /datapack disable 命令禁用它。由于重命名数据包可能会导致一些bug(某些网站会自动重命名),它无法自行执行最后一步操作。
A new rewrite of this mod from scratch is available for at the following project link: Balanced Diet: Variety is Vital
Purpose
Mostly to give me a reason to care at all about other foods beyond chicken/beef and golden vegetables. However, its implemented in a way that improves the game in multiple ways:
- A reason to try new foods
- A reason to avoid unnecessary chip damage (get better at parkour, mlg water bucket, travel safely, etc)
- Harder survival (without being restrictive or annoying)
Its not meant to add a ton of difficulty, just enough to get the player considering those things.
Details
In short, it creates a challenge that limits your health regeneration until you eat unique foods. Eating all the foods from "A Balanced Diet" achievement removes all restrictions on health regeneration.
However, the challenge can be disabled in-game, which just leaves a QoL tracker for the achievement.
New Tracker
A new advancement tab will be unlocked that shows which foods you have and haven't eaten for the vanilla "A Balanced Diet" advancement (full overview in Gallery).
The datapack as two modes:
- Challenge mode:
- Enables the health regen limitations and tracker
- Tracker mode:
- Enables only the tracker of foods eaten
The two modes can be freely switched between during gameplay using the following commands:
/function balanced_diet:mode/tracker
/function balanced_diet:mode/challenge
All progress towards the advancement will continue regardless of which mode you're in. Each player is tracked individually and doesn't have to be in the same mode as other players.
Challenge Mode
(enabled by default)
You start the game with a total of 10 hearts, as normal. However, only 1 heart is a normal red heart, the other 9 are yellow absorption hearts. Absorption hearts do not regenerate naturally once lost.
For each 4 unique foods you eat, you will permanently gain 1 red heart:
Absorption Regeneration
Adsorption hearts are regenerated everyday at dawn to fill all 10 heart slots, regardless of whether or not the player sleeps. Extra absorption hearts are never removed though, so permanent overhealth is possible if you eat many unique foods without taking damage.
Absorption hearts are also regenerated when you respawn after dying.
Completion Details
Due to rounding, the final 2 hearts require 6 foods, not 4.
Table of food needed for red hearts
| Unique Food |
Red Hearts |
| 0 |
1 |
| 4 |
2 |
| 8 |
3 |
| 12 |
4 |
| 16 |
5 |
| 20 |
6 |
| 24 |
7 |
| 28 |
8 |
| 34 |
9 |
| 40 |
10 |
Perfomance
No detectable performance impact. All of the tracking happens via advancements, the same way its tracked in the vanilla game. Only a few simple functions are ran on ticks.
Limitations
-
If added to a pre-existing world, the datapack will not recognize any foods you've eaten before you added it.
-
Absorption can only be given in 2 heart increments. When only 1 heart is needed, 1 heart of damage will automatically be dealt to balance it. Checks are in place to ensure the damage is not dealt when it is not necessary.
-
The player will continuously be under the absorption effect. While particles are disabled on it, you can still see the effect active while in the inventory.
Uninstall
To uninstall and remove all traces of the datapack, run the following command:
/function balanced_diet:uninstall
Note, there will be a notification after its done to run the /datapack disable command on it. It can't do that final step itself due to the bugs it'd cause if the pack were to be renamed (which it is automatically on some sites).
评论 0
登录后参与评分
还没有评论,来抢沙发吧