Edibles 是一个极简且可配置的模组,它使许多食材变得可食用,食用后玩家会获得一个短时间的状态效果。它取代了我之前制作的几个可食用食材模组,并将它们整合在一起,未来还会加入更多效果。默认情况下,在食用这些食材之间设有 1 秒的全局冷却时间。
目前支持:烈焰粉、萤石粉、岩浆膏、糖、恶魂之泪、幻翼膜和兔子脚。






烈焰粉 -> 力量效果
萤石粉 -> 给予周围实体发光效果
岩浆膏 -> 防火
糖 -> 速度效果
恶魂之泪 -> 再生
幻翼膜 -> 缓慢下落
兔子脚 -> 跳跃提升
默认情况下,发光效果持续 20 秒,其他效果持续 15 秒。你可以在配置文件中更改此设置。
所有可用的配置选项:
显示剧透
# 虚弱效果
maxItemUsesPerDaySingleItem 默认值 16,最小值 -1,最大值 1280
玩家在受到虚弱效果之前,单个物品最多可食用的数量。值为 -1 时禁用此功能。
maxItemUsesPerDayTotal 默认值 -1,最小值 -1,最大值 1280
玩家在受到虚弱效果之前,所有物品总共最多可食用的数量。值为 -1 时禁用此功能。
weaknessDurationSeconds 默认值 45,最小值 1,最大值 3600
当食用过多某种物品时,虚弱效果的持续时间(以秒为单位)。
# 发光效果
glowEntityDurationSeconds 默认值 20,最小值 0,最大值 3600
食用萤石时,周围实体保持带有轮廓发光效果的持续时间(以秒为单位)。值为 0 时禁用该物品的使用效果。
glowEntitiesAroundAffectedRadiusBlocks 默认值 32,最小值 1,最大值 128
对于发光效果,受影响实体围绕玩家的半径(以方块为单位)。
# 其他
_cooldownInMsBetweenUses 默认值 1000,最小值 0,最大值 3600000
食用可食用物品后的冷却时间(毫秒)。
blazePowderStrengthDurationSeconds 默认值 15,最小值 0,最大值 3600
食用烈焰粉后,玩家获得力量效果的持续时间(秒)。设为 0 则禁用该物品使用。
magmaCreamFireResistanceDurationSeconds 默认值 15,最小值 0,最大值 3600
食用岩浆膏后,玩家获得抗性提升效果的持续时间(秒)。设为 0 则禁用该物品使用。
sugarSpeedDurationSeconds 默认值 15,最小值 0,最大值 3600
食用糖后,玩家获得速度效果的持续时间(秒)。设为 0 则禁用该物品使用。
ghastTearDurationSeconds 默认值 15,最小值 0,最大值 3600
食用恶魂之泪后,玩家获得生命恢复效果的持续时间(秒)。设为 0 则禁用该物品使用。
phantomMembraneDurationSeconds 默认值 15,最小值 0,最大值 3600
食用幻翼膜后,玩家获得缓慢下落效果的持续时间(秒)。设为 0 则禁用该物品使用。
rabbitsFootDurationSeconds 默认值 15,最小值 0,最大值 3600
食用兔子脚后,玩家获得跳跃提升效果的持续时间(秒)。设为 0 则禁用该物品使用。
食用食材的部分效果演示:
显示剧透

同一天内食用过多食材会导致玩家获得虚弱效果。
显示剧透

食用下界之星的效果:玩家周围的实体将获得发光效果,并透过墙壁可见:
显示剧透

只要下载源保持在 CurseForge 或 Modrinth 生态系统中,您就可以在任何整合包中自由使用该模组。
Serilum.com 提供了所有可用模组的概览及更多信息。
如有问题、想法、建议或其他任何事项,请访问 Github 仓库。谢谢!
Edibles is a minimalistic configurable mod which makes lots of ingredients edible, after which the player receives a short status effect. It supersedes some previous edible ingredient mods I've made, and bundles them together with more effects planned in the future. By default there is a global cooldown of 1 second in between eating the edibles.
Currently works with blaze powder, glowstone dust, magma cream, sugar, ghast tears, phantom membrane and rabbit's feet.






Blaze powder -> strength effect
Glowstone dust -> gives entities around the glow effect
Magma cream -> fire resistance
Sugar -> speed effect
Ghast tear -> regeneration
Phantom membrane -> slow falling
Rabbit's foot -> Jump boost
By default the glow effect is 20 seconds and the others are 15 seconds. You can change this in the configuration file.
All available config options:
Show Spoiler
# Weakness effect
maxItemUsesPerDaySingleItem default 16, min -1, max 1280
The maximum amount of an item a player can eat before receiving the weakness effect. A value of -1 disables this feature.
maxItemUsesPerDayTotal default -1, min -1, max 1280
The maximum of the total amount of items a player can eat before receiving the weakness effect. A value of -1 disables this feature.
weaknessDurationSeconds default 45, min 1, max 3600
The duration of the weakness effect in seconds when eating too much of an item.
# Glow effect
glowEntityDurationSeconds default 20, min 0, max 3600
When eating glowstone, the duration in seconds of how long entities around should be glowing with an outline. A value of 0 disables the item use.
glowEntitiesAroundAffectedRadiusBlocks default 32, min 1, max 128
For the glow effect, the radius in blocks around the player of entities affected.
# Other
_cooldownInMsBetweenUses default 1000, min 0, max 3600000
The time in miliseconds of cooldown in between uses of eating an edible.
blazePowderStrengthDurationSeconds default 15, min 0, max 3600
After eating blaze powder, the duration in seconds of the strength effect the player receives. A value of 0 disables the item use.
magmaCreamFireResistanceDurationSeconds default 15, min 0, max 3600
After eating magma cream, the duration in seconds of the fire resistance effect the player receives. A value of 0 disables the item use.
sugarSpeedDurationSeconds default 15, min 0, max 3600
After eating some sugar, the duration in seconds of the speed effect the player receives. A value of 0 disables the item use.
ghastTearDurationSeconds default 15, min 0, max 3600
After eating a ghast tear, the duration in seconds of the regenration effect the player receives. A value of 0 disables the item use.
phantomMembraneDurationSeconds default 15, min 0, max 3600
After eating some phantom membrane, the duration in seconds of the slow falling effect the player receives. A value of 0 disables the item use.
rabbitsFootDurationSeconds default 15, min 0, max 3600
After eating a rabbit's foot, the duration in seconds of the jump boost effect the player receives. A value of 0 disables the item use.
Some of the effects of eating ingredients in action:
Show Spoiler

Eating too many ingredients in the same day will result in the player receiving the weakness effect.
Show Spoiler

The effect of eating glowstone, entities around the player will receive the glow effect and be visible through walls:
Show Spoiler

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Edibles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 将最新更改移植到 Minecraft 版本 26.1.2,该版本再次获得积极支持。
包含先前版本详细信息的完整更新日志可在我的网站上找到:
>
将模组的 Java 包名更改为 com.serilum.*。
更新了 mods.toml 和 fabric.mod.json 文件中的模组信息。
无功能变更。
包含先前版本详细信息的完整更新日志可在我的网站上找到:
>
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
简单的原版生物群系更新,包含有趣的怪物、方块等更多内容!
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
更多生物群系,更多生物,更多工具,为炽热的维度
模组
一堆修复

评论 0
登录后参与评分
还没有评论,来抢沙发吧