介绍
EditableEdibles is a simple modpack utility for adding custom effects to food items.
Vanilla food items are normally limited to a single effect when eaten without additional coding, and this is not generally modifiable without writing your own mod.
EditableEdibles allows you to define effects to be applied to the player when they eat the food, along with the duration, amplifier, and chance of that effect applying.
Instead of foods being limited to a single chance and effect, with EditableEdibles config system you can define multiple effect chance entries for a single food item, as well as apply the effects based on the item metadata for food items that are defined by metadata such as fish.
Additionally, you can define food items and if their default handling of effects, such as raw chicken, should be cancelled, for if you want to remove an effect or replace it with your custom effects, as well as the other options below.
Config options can be edited in-game through the Forge config menu, and will automatically update in-game.
Config Options (Formatting also defined in tooltip):
- Food Effects and Chances: List of entries including the item, potion effect, and chance to be applied when eaten Format: String itemId, Int metadata (-1 for any), String potionId, Int duration, Int amplifier, Boolean showParticles, Float chance Example: minecraft:chicken, -1, minecraft:hunger, 120, 0, false, 0.25
- Food Default Effect Override: List of entries including the item and if their default effect handling should be cancelled Format: String itemId, Int metadata, Boolean shouldCancel Example: minecraft:chicken, -1, true
- Food Cure Effects and Chances: List of entries including the item, potion effect, and chance to be cured when eaten Format: String itemId, Int metadata (-1 for any), String potionId, Int maxDuration (-1 for any), Int maxAmplifier (-1 for any), Float chance Example: minecraft:carrot, -1, minecraft:blindness, -1, -1, 1.0
- Food Cure Types and Chances: List of entries including the item, types of potions, and chance to be cured when eaten Format: String itemId, Int metadata (-1 for any), CureType cureType (ALL, POSITIVE, NEGATIVE), Float chance Example: minecraft:poisonous_potato, -1, POSITIVE, 0.25
- Always Edible Food Items: List of food items that should always be edible Format: String itemId, Int metadata (-1 for any) Example: minecraft:apple, -1
- Override Always Edible: Allows for setting all food items to always be edible
Mod Compat:
- MistyWorld Food Intoxication and Chances: List of entries including the item and chance to add defined value to Intoxication Intoxication values are between 0 and 10000, added values can be negative Format: String itemId, Int metadata (-1 for any), Int intoxicationAddValue, Float chance Example: minecraft:poisonous_potato, -1, -2000, 0.75
- MistyWorld Food Pollution and Chances: List of entries including the item and chance to add defined value to pollution Pollution values are between 0 and 10000, added values can be negative Format: String itemId, Int metadata (-1 for any), Int pollutionAddValue, Float chance Example: minecraft:apple, -1, 1000, 0.5
Feel free to request additional food-related config options on the Github issue tracker linked at the top of the page.
Logo created by rainyafternoon
Need to get in contact with me, or want to support me? Click the badges below:
Need a server? Click the banner below and use code “fonny” for 25% off your first month with Bisect Hosting:

常见问题
EditableEdibles 支持哪些 Minecraft 版本?
EditableEdibles 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
EditableEdibles 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
fonnymunkey 的其他作品
查看全部 →Simple Hats
Simple Hats 是一个可扩展的装饰性帽子模组,支持用户自定义帽子,并提供变体、染色、粒子效果和季节等选项。
So Many Enchantments
全新的附魔……(开发中)
Better Questing Tweaker (BQTweaker)
用于修改 BetterQuesting 部分内容的调整模组
BetterTabs
一个简单的附属模组,为BetterQuesting、LevelUpReloaded、LevelUpLegacy、Lycanite's Mobs和ClassyHats添加物品栏标签页/提示信息。
评论
登录后评论和评分