关于
Food Additions 使 7 种原版物品变为可食用,并添加了 11 种新食物,这些食物可以通过熔炼或制作常规原版物品(鸡蛋、海泡菜、胡萝卜等)获得。部分物品在食用后会产生特殊效果或给予玩家某些增益。此外,还添加了使用牛奶和蜂蜜瓶来清除毒马铃薯中毒的配方。
1.20.1 及更高版本拥有额外功能:将新的可食用物品添加到 Foods and Drinks 标签页中。
? 物品
原版物品:
| 名称 |
饥饿值 |
饱和度 |
自定义效果 |
| 闪烁的西瓜片 |
5 |
7.4 |
食用时恢复 1 点生命值(即使饱食度已满也可食用) |
| 发酵蛛眼 |
4 |
3.8 |
|
| 龙息 |
8 |
8.4 |
赋予持续 10 秒的“无敌”效果 |
| 糖 |
1 |
0.4 |
|
| 兔脚 |
2 |
0.8 |
可喂食能食用肉类的动物(猫、狗……) |
| 幻翼膜 |
3 |
1.8 |
可喂食能食用肉类的动物(猫、狗……) |
| 爆裂紫颂果 |
6 |
5.2 |
食用后不会传送玩家 |
新增物品:
| 名称 |
饥饿值 |
饱和度 |
自定义效果 / 备注 |
| 烤(熟)胡萝卜 |
6 |
10.2 |
|
| 熟热带鱼 |
5 |
4.8 |
可喂食能食用肉类的动物(猫、狗……) |
| 海泡菜 |
5 |
3.2 |
|
| 融化的雪 |
1 |
0.1 |
通过在熔炉中熔炼雪块获得 |
| 烘焙雪 |
2 |
1.4 |
通过在烟熏炉中熔炼雪块或通过营火烹饪获得 |
| 流心蛋 |
4 |
2.4 |
如果配置为真 -> 玩家有 25% 的概率获得 1 - 4 组骨粉 |
| 溏心蛋 |
6 |
3.6 |
与流心蛋相同 |
| 半熟蛋 |
7 |
5.2 |
与流心蛋相同 |
| 全熟蛋 |
9 |
8.2 |
与流心蛋相同 |
| 碗装三枚蛋 |
12 |
9.6 |
如果配置为真 -> 玩家有 25% 的概率获得 3 - 12 组骨粉 |
| 水煮海龟蛋 |
8 |
5.6 |
与流心蛋相同 |
『』命令
/hungerbar - 修改饥饿值(肉类)和饱和度(当安装 Apple Skin 模组时高亮显示的肉类)
详细说明:
/hungerbar (nutrition || saturation || both) (add || set) <target> <value(s)>
- nutrition -> 饥饿值(经验条上方显示的“肉类”数值)
- saturation(饱和度)→ 食物饱和等级 - 决定饥饿值消耗的速度,若不安装 AppleSkin 模组则无法看到该数值
- both(两者)→ 添加/设置这两个数值
- 例如 /hungerbar both set @p 5 10 → 第一个值:营养值
第二个值:饱和值
- 使用此命令时,你可以将目标的饥饿值设置在 20 以上(最高食物(饱和)等级)(注:重新进入世界时,数值会重置为最大值(如果高于 20))
꩜ 效果
无敌:你无法受到任何伤害,且生物不会攻击你
❓工作原理
当你在主手或副手中持有原版物品时,它会被替换为另一个外观相同但可食用的物品。当你切换到其他物品栏槽位时,它会变回原版物品。
⇄ 兼容性
Apple Skin:不兼容 - 你无法在 GUI 中看到编辑过的原版物品的营养/饱和属性,但在手持该物品(编辑过的原版物品)时可以看到高亮的“肉类”图标。
Placeable Items:我添加了一个按钮(默认为数字键 9),使新的可食用物品变为不可食用。当它们处于不可食用状态时,你可以放置这些物品。再次按下按钮可切换回可食用模式。
任何形式的配方(模组或原版):如果你无法使用新的可食用物品合成某物,只需将其放入你的物品栏并等待 1 秒(等待时间取决于游戏的加载情况)。
? 配置
目前在此模组中你可以配置 4 个功能。你可以在下面的列表中看到它们:
| 名称 |
默认值(布尔值) |
备注 |
| 食用新的可食用原版物品 |
true(开启) |
|
| Hungerbar 命令功能 |
true(开启) |
|
| 食用煮熟的鸡蛋后获得骨粉 |
false(关闭) |
|
| 用原版物品替换可食用物品(例如 food_additions:sugar 替换为 minecraft:sugar) |
true(开启) |
如果你不知道自己在做什么,请不要关闭此选项(可能导致兼容性问题) |
? Bug 和问题
如果你发现任何问题,请通过 Discord: whiterm 或 CurseForge 联系我
FA-0
当编辑过的原版物品在主手中被持有,并直接从该槽位移入容器(箱子/工作台...)时,该物品仍然被视为可食用,无法用于合成配方或其他可能的交互操作。
可能的解决方案:
对于玩家:将物品放入你的物品栏(非快捷栏 - 虽然也可以,但物品栏效果更好)
对于我(没想到更好的办法):检查每个容器中的该物品并将其转换回来 → 可能会导致性能问题
FA-1
如果通过命令方块执行 /hungerbar,聊天栏中不会显示信息消息(信息消息 = 为玩家添加了多少点营养值)
可能的解决方案:
¯\_(ツ)_/¯
计划中的功能
- 在配置中添加开关选项,以启用/禁用自定义物品(如煮熟的鸡蛋)的合成。
- 也许我会添加一些来自 Alex's Mobs 的肉类。
你不可以复制这个项目并声称是你自己创建的!!! 如果你想使用任何资源或核心功能,请联系我。 如果你将此模组用于整合包,我将不胜感激,但请别忘了留下署名。
我的其他有用项目:
材质包:Clear Lava and Water:
Mr. Totem (Antimated Totem of Undying):
Mods: Shatr (Adds a lots of funny things, 1.16.5):
About
Food Additions makes 7 vanilla items edible and adds 11 new foods that are obtainable through smelting or crafting regular vanilla items (Egg, Sea Pickle, Carrot, etc.). Some items do something upon eating, they have special effects or can give you something. Also adds recipes to get rid of poison from Poisonous Potatoes using Milk and Honey Bottle.
Versions for 1.20.1 and higher have additional feature: adds new edible items to the Foods and Drinks tab.
? Items
Vanilla items:
| Name |
Nutrition |
Saturation |
Custom Effect |
| Glistering Melon Slice |
5 |
7.4 |
Heals 1 HP upon eating (also edible if player has full hungerbar) |
| Fermented Spider Eye |
4 |
3.8 |
|
| Dragon's Breath |
8 |
8.4 |
Gives effect Invincibility for 10s |
| Sugar |
1 |
0.4 |
|
| Rabbit's Foot |
2 |
0.8 |
Can be fed to animals that can eat meat (cats, dogs...) |
| Phantom Membrane |
3 |
1.8 |
Can be fed to animals that can eat meat (cats, dogs...) |
| Popped Chorus Fruit |
6 |
5.2 |
Doesn't teleport you after eating it |
New items:
| Name |
Nutrition |
Saturation |
Custom Effect / Note |
| Toasted (Cooked) Carrot |
6 |
10.2 |
|
| Cooked Tropical Fish |
5 |
4.8 |
Can be fed to animals that can eat meat (cats, dogs...) |
| Sea Pickles |
5 |
3.2 |
|
| Melted Snow |
1 |
0.1 |
Obtained through smelting Snow in the Furnace |
| Baked Snow |
2 |
1.4 |
Obtained through smelting Snow in the Smoker or through Campfire cooking |
| Runny Yolk Egg |
4 |
2.4 |
If config is true -> player has a 25% chance to get 1 - 4 Bonemeal |
| Soft-Boiled Egg |
6 |
3.6 |
Same as Runny Yolk Egg |
| Medium Well Egg |
7 |
5.2 |
Same as Runny Yolk Egg |
| Hard-Boiled Egg |
9 |
8.2 |
Same as Runny Yolk Egg |
| Three Eggs in a Bowl |
12 |
9.6 |
If config is true -> player has a 25% chance to get 3 - 12 Bonemeal |
| Boiled Turtle Egg |
8 |
5.6 |
Same as Runny Yolk Egg |
『』Commands
/hungerbar - modyfies nutrition (meats) and saturation (highlighted meats when you have Apple Skin installed)
Detailed description:
/hungerbar (nutrition || saturation || both) (add || set) <target> <value(s)>
- nutrition -> food level („meats“ you see above XP bar)
- saturation -> food saturation level - determines how fast food level depletes, can’t be seen without AppleSkin mod
- both -> adds/sets both values
- ex. /hungerbar both set @p 5 10 -> 1st value: nutrition
2nd value: saturation
- while using this command, you can set target’s hunger values above 20 (maximum food (saturation) level) (PS: when rejoining the world, values reset to maximum (if higher than 20))
꩜ Effects
Invincibility: you can't take any damage and mobs don't attack you
❓How it works
When you hold vanilla item in your main or off hand it changes the item to another one that looks the same as the vanilla one and is edible. When you switch to different slot it changes it back to vanilla one.
⇄ Compatibility
Apple Skin: incompatible - You CAN'T see nutrition/saturation stats of edited vanilla items in GUI, but you CAN see highlighted "meats" when holding the item (edited vanilla)
Placeable Items: I added button (default NUM 9) that makes new edible items unedible. When they are unedible you can place items. When pressed again it switches back to edible mode.
Recipes of any kind (modded or vanilla): When you can't craft something with the new edible item just place it in your inventory and wait for 1s (wait time depends on game's load).
? Config
Currently there are 4 features that you can configure in this mod. You can see them in the list below:
| Name |
Default value (boolean) |
Note |
| Eating new edible vanilla items |
true |
|
| Hungerbar command functionality |
true |
|
| Get Bonemeal upon eating boiled Eggs |
false |
|
| Replace edible items (ex. food_additions:sugar) with vanilla (ex. minecraft:sugar) |
true |
Don't turn off this option if you don't know what are you doing (may result in compatibility issues) |
? Bugs and Issues
If you find some please contact me on Discord: whiterm OR through CurseForge
FA-0
When edited vanilla item is held in main-hand and taken from that slot straight into container (chest/crafting table...) the item is still edible and can't be used in crafting recipes or other possible interactions.
Possible solutions:
For you: place the item into your inventory (not hotbar - could also work but inventory is better)
For me (didn't came up with anything better): check every single container for this item and converting it back -> may cause performance issues
FA-1
If /hungerbar is executed from command block it doesn't display the info message in chat (info message = how many nutrition points has been added to the player)
Possible solutions:
¯\_(ツ)_/¯
Planned Features
- Add option to turn on/off crafting custom items like Boiled Eggs in config.
- Maybe I'll add some new Alex's Mobs meats.
You CAN'T copy this project and say that YOU created it!!! If you want to use any assets or use some core features please contact me. I'll be glad if you will use this mod in modpacks, but don't forget to leave some credits.
My other useful projects:
Texture packs: Clear Lava and Water:
Mr. Totem (Antimated Totem of Undying):
Mods: Shatr (Adds a lots of funny things, 1.16.5):
评论 0
登录后参与评分
还没有评论,来抢沙发吧