
Cravings!
你的胃有它的想法,而且它毫不介意表达出来。这个模组为你的 Minecraft 体验添加了随机的食物渴望!
每隔几个游戏小时(默认情况下每天两次),你的胃就会让你知道它渴望某种特定的食物。吃些能满足这种渴望的东西,你就会获得一些不错的奖励!忽视它……嗯,不会发生什么坏事,尽管你可能会感到有点难过。
Cravings! 的理念是给你一个小小的、有趣的且相当有帮助的提示,去尝试不同的食物,准备多种食物,避免仅仅依赖一种极易大量生产的物品。与具有类似目标的其他模组不同,Cravings! 不会惩罚你或强迫你,但不要低估正向激励和错失恐惧症(FOMO)的力量。
这一切都伴随着轻微的声音提示、风味文本以及(希望如此)迷人的精灵图。所有设置均可自定义!
渴望类型!!!
总共有八种类型的渴望,每种都有其独特的稀有度和奖励。
所有渴望在满足时都会给予少量经验值,并为刚吃的食物增加固定的饱和值加成。具体数值取决于渴望类型,因此即使是一种清淡、不太管饱的食物,也可能值得用来满足渴望。

奖励效果

最重要的是,满足渴望会让你感到非常开心,从而获得类似药水的效果,纯粹是心理作用!别想太多。
这些效果通常等级较低但持续时间较长,默认持续 5 分钟。如果你能把握好渴望出现的时间,你就能享受长达半个 Minecraft 天的增益。你可以选择通过忍受一段时间没有增益来叠加它们,或者将它们分散在一整天中。
大多数渴望提供简单的增益,如速度或急迫,而较稀有的渴望则可能提供更珍贵的效果,如夜视或生命提升。如果你连续满足 5 次渴望,奖励会变得更好一些!
请注意,如果你死亡或清除效果……嗯,你永远会有下一次的渴望。
提醒方式
当新的渴望出现时,操作栏上会显示一小段文字,并伴有声音提示。几秒后它会淡出,因此很容易错过。这就是为什么模组提供了三种始终知晓当前渴望的方式,全部可以通过客户端配置切换。
效果
当你渴望某物时,你会获得一个虚拟药水效果,显示渴望的图标和名称。它实际上并不影响游戏玩法,只是一个视觉提醒。图标甚至带有一个小锁,表明奖励被“锁定”在渴望之后。
即使你死亡或清除渴望,这些虚拟效果也不会消失,确保你始终拥有视觉提示。

聊天框中的帧
另一种选项是在聊天窗口打开时,屏幕顶部中心显示一个带有装饰的小精灵图和渴望名称。这让你在与他人聊天或睡觉时也能看到当前的渴望。这两种方式(聊天框帧和药水效果)默认均启用。

命令
如果你很无聊,或者不喜欢我的精灵图(可以理解),你也可以使用一个简单的命令来查看你正在渴望什么。没有精灵图,始终可用。
/CravingsCheck
动画
当你满足渴望时,屏幕上会出现一个小动画以及一段风味文本。有三种可配置的模式:完整(如上所示)、最小化(占用空间更少)或禁用。

后果
之前我说,不满足渴望没有任何后果,因为这个模组旨在通过正向激励来鼓励多样化饮食。
这仍然成立!……除非你不希望如此。
通过游戏规则:
cravingsConsequences
你现在可以让忽视胃部需求产生后果:
- 每次错过的渴望都会略微降低你的饱和度。
- 你还会获得短暂的饥饿效果。
- 每种渴望类型都会赋予独特的负面效果,通常是其奖励的反面。
这些惩罚通常持续约一分钟或更短,并且(一如既往)几乎所有内容都可完全自定义,以便你根据自己的喜好调整体验。
清口药水
如果你得到了一个不想要的渴望,或者只是想在不等待的情况下试试运气以获得更好的渴望,你可以制作清口药水。饮用此药水可以让你重新随机生成渴望,而不会丢失连击数,如果启用了后果机制,也不会遭受任何惩罚。
要制作它,首先你需要同样新近添加的……
饥饿药水
通过将腐肉酿造进尴尬药水来制作。

然后用蜂巢蜜糖化它,就完成了,你将得到清口药水。

虽然酿造过程相对简单,但这种药水不容易被滥用。一旦你喝下它,你就会获得效果……
胃部不适
这将导致药水在你饮用时无效。此外,如果你没有处于任何渴望状态,药水也不会有任何效果。

你同样可以切换并配置所有这些功能。大部分都可以。
进度(Advancements)
Cravings 附带了一组共 9 个略带幽默感的进度,为你提供一些额外的目标。我本想说是为了引导你体验模组而制作的,但这个理由实在太牵强了。毕竟进度本身就很酷。

兼容性
Cravings! 与 Farmer’s Delight by vectorwing 完全兼容并已预先配置好!
我对食物类模组最大的不满之一,就是必须 painstakingly( painstakingly 意为“极其费力地”)将模组中的每一个食物物品逐一添加到配置文件中,才能让它们和谐共存。在 Cravings 中,你仍然需要这样做,但如果你使用的是我个人最喜欢的食物模组 Farmer’s Delight,我已经替你完成了这项工作。
如果安装了 Farmer’s Delight,Cravings 将自动识别其中的食物并将其分配到正确的渴望类别中。当然,这些食物的机制不像 Minecraft 原版那样简单,因此部分分类带有主观性,如果你愿意,始终可以在配置文件中调整类别。
对于其他任何食物模组,你需要手动将物品分配到各个类别中(包括原版的物品)。虽然不太方便,但完全可以实现。
可选标签支持: Cravings! 支持物品标签,适合那些希望为整合包或兼容性使用标签的玩家。默认情况下,标签不会应用于原版或 Farmer’s Delight 的食物,因此配置文件列表仍控制一切。如果你希望使用它们,标签已存在并可被检测。可用标签:cravings:sweet, cravings:healthy, cravings:meaty, cravings:fishy, cravings:gross, cravings:fancy, cravings:hearty, cravings:raw.
配置
就像我的另一个模组 Diminishing Health by Me, check it out 一样,Cravings 具有极高的可配置性。模组几乎每个方面都可以调整,并且更改在游戏中动态生效,无需重启。
你可以:
- 启用或禁用特定的渴望效果。
- 调整每种渴望的奖励(经验值、饱和度、持续时间以及效果等级,遗憾的是不包括效果类型本身)。
- 更改渴望之间的间隔时间。
- 切换奖励效果的粒子显示。
- 启用/禁用 Farmer’s Delight 兼容性。
- 添加、移除或重新分配类别内的物品。
- 使用加权概率系统调整渴望出现的几率。
- 禁用或启用所有精灵提示或动画。
所有这些设置均为服务端配置,存储在 saves/World/serverconfig 中,且与世界特定绑定。唯一的例外是精灵和动画选项,它们是客户端配置,位于通常的配置文件夹中。
最后说明
该模组包含一些调试功能,例如命令
/cravingsreroll
强制生成新的渴望(需要开启作弊),以及游戏内规则
cravingsdebug
告诉你刚刚吃下的食物满足了哪些渴望。
这原本只是一个轻松有趣的小项目,但我却越做越投入。无论如何,这都是一个绝佳的学习机会,而且在制作过程中我玩得非常开心(某种程度上)。我很想听听你的想法,或者如果你有建议,欢迎分享!感谢阅读所有内容,希望你能享受游玩 Cravings 的乐趣。

Cravings!
Your stomach has opinions, and it's not afraid to share them. This mod adds random food cravings to your Minecraft experience!
Every few in-game hours (twice per Minecraft day by default), your stomach will let you know it's craving a specific type of food. Eat something that satisfies that craving, and you'll get some neat rewards! Ignore it and… Well, nothing bad happens, though you might feel a little sad.
The idea of Cravings! is to give you a small, funny, and decently helpful nudge to try different foods, prepare a variety of them, and avoid relying on just one super-farmable item. Unlike other mods with similar goals, Cravings won't punish you or force your hand, but don't underestimate the power of positive reinforcement and FOMO.
All of this comes with little sound alerts, flavor texts, and (hopefully) charming sprites. All fully configurable too!
The Cravings!!!
There are eight types of cravings in total, each with its own rarity and rewards.
All cravings give a small amount of XP when satisfied and add a flat bonus of saturation to whatever food you just ate. The exact amount depends on the craving, so even a light, not very filling food item can be worth using to satisfy a craving.

The Reward Effects

Most importantly, satisfying a craving will make you so happy that you'll give yourself potion-like effects, purely a placebo! Don't think too much about it.
These effects are usually low-level but long-lasting, lasting 5 minutes by default. If you time your cravings right, you could enjoy benefits for half a Minecraft day. You can choose to stack them at the cost or spending more time without any of them, or spread them out over the course of the day.
Most cravings grant simple buffs like Speed or Haste, but rarer cravings can give more valuable effects such as Night Vision or Health Boost. And if you get a streak, fulfilling 5 cravings in a row, the rewards will be a bit better!
Mind you, if you die or clear the effects... Well, you'll always have another craving.
Reminders
When a new craving appears, a small text will show on your action bar, accompanied by a sound alert. It fades out after a couple of seconds, so it can be easy to miss. That's why the mod offers three ways to always know what you're craving, all toggleable with a client-sided config.
Effects
While craving something, you'll get a dummy potion effect showing the icon and name of the craving. It doesn't actually affect gameplay tho, it's just a visual reminder. The icon even has a little lock to show that the reward is "locked" behind the craving.
These dummy effects won't disappear if you die or clear the craving, making sure you always have a visual hint.

Frame in Chat
Another option is a small, decorated sprite with the craving name at the top center of your screen while the chat is open. This lets you see your current craving when chatting or sleeping. Both this and the potion effects are enabled by default.

Command
If you are boring or don't like my sprites (understandable), you can also use a simple command that will tell you what you are craving. No sprites, always available.
/CravingsCheck
Animation
When you satisfy a craving, a little animation appears on your screen along with a flavor text. There are three configurable modes: full (like shown above), minimal (takes less space), or disabled.

Consequences
Previously, I said that not satisfying a craving carried no consequences at all, since this mod is all about positive reinforcement to encourage varied eating.
That's still true!... Unless you don't want it to be.
With the gamerule:
cravingsConsequences
You can now make it so ignoring your stomach carries consequences:
- Every missed craving will slightly reduce your saturation.
- You’ll also get a short Hunger effect.
- And each craving type gives a unique negative effect, usually the opposite of its reward.
These penalties usually last for about a minute or less, and (as always) nearly everything is fully configurable so you can adjust the experience to your liking.
The Palate Cleanser Potion
If you got a craving you didn't want or just wanna try your luck getting a better one without waiting, you can craft the Palate Cleanser. Drinking this will allow you to reroll your craving without losing your streak or suffering any consequences if those are enabled.
To craft this, first you need the also newly shallowly added...
Potion of hunger
Crafted by brewing rotten meat into an awkward potion.

Then sweeten it up with a honeycomb and done, you'll get the Palate Cleanser.

Tho, while mostly easy to brew, this potion cannot be easily exploitable, once you drink it, you will get the effect...
Upset Stomach
Which will make the potion have no effect if you drink it. Also, the potion won't have any effect if you are not craving anything.

You can toggle and configure all these features too. Mostly
Advancements
Cravings comes with a small set of 9 mildly funny advancements to give you a few extra goals. I would love to say I made them to guide you through the mod, but this one is too simple for that excuse. Advancements are just neat.

Compatibility
Cravings! Is fully compatible and pre-configured with Farmer’s Delight by vectorwing!
One of my biggest gripes with food-related mods is having to painstakingly add every single food item from the mod into a config just to make them play nicely together. With Cravings, you still need to do that, BUT if you’re using my personal favorite food mod, Farmer’s Delight, I’ve already done the work for you.
If Farmer’s Delight is installed, Cravings will automatically recognize its foods and assign them to the correct craving categories. Of course, those foods are not as simple as minecraft's, so some stuff is subjective, so you can always adjust categories in the config if you’d like.
With any other food mod, you’ll need to manually assign items into categories (alongside the vanilla ones). Not as convenient, but doable.
Optional Tag Support: Cravings! Supports item tags for those who want to use them for modpacks or compatibility. Tags are not applied to vanilla or FD foods by default, so the config list still controls everything. The tags are there and checked if you want to use them. Available tags: cravings:sweet, cravings:healthy, cravings:meaty, cravings:fishy, cravings:gross, cravings:fancy, cravings:hearty, cravings:raw.
Configuration
Just like my other mod Diminishing Health by Me, check it out, Cravings is super configurable. Almost every aspect of the mod can be tweaked, and changes update dynamically in-game as well, no restart required.
You can:
- Enable or disable individual cravings.
- Adjust rewards per craving (XP, saturation, duration, and level of effects, not the effects themselves, sadly).
- Change the time between cravings.
- Toggle whether reward effects show particles.
- Enable/disable Farmer’s Delight compatibility.
- Add, remove, or reassign items within categories.
- Adjust craving likelihoods using a weighted probability system.
- Disable or enable every sprite reminder or animation.
All of these settings are server-sided configs, stored in saves/World/serverconfig, and are world-specific. The only exceptions are the sprite and animation options, which are client-sided and can be found in the usual config folder.
Final Notes
- Fully translated to spanish!!
The mod has some debug features, like the command
/cravingsreroll
Which forces a new craving (requires cheats), and the gamerule
cravingsdebug
Which tells you what cravings are satisfied by the food you just ate.
This was supposed to be a silly little quick project, but I got carried away. Great learning opportunity anyway, and I had a ton of fun (kinda) making it. I'd love to hear what you think, or if you have suggestions, please share! Thanks for reading all of this, and I hope you enjoy playing with Cravings.
评论 0
登录后参与评分
还没有评论,来抢沙发吧