This is a mod that allows all existing items to be edible, and it has been open-sourced on GitHub.
After installing this mod, all existing items will become edible by players. By default, they will restore the same amount of saturation and hunger value as an apple. If you are not satisfied with just making items edible, you can also set the saturation and hunger value for specific items through the configuration file, as well as whether they can be eaten continuously. Additionally, you can configure commands to be executed after consuming specific items. If the configured item is originally edible, the configuration file will override the effects of consuming the original item.
In addition, you can configure items that are excluded from being edible by adding their IDs to the "excluded" section in the configuration file. Below are the default configuration file and an example configuration file for this mod:
{
"excluded": []
}
{
"minecraft:apple": {
"saturation": 10.0,
"nutrition": 18,
"commands": [
"say This is a test message."
]
},
"minecraft:stone_axe": {
"saturation": -10.0,
"nutrition": 0,
"always": true,
"commands": [
"me ?",
"kill @p",
"execute at @p as @p run summon minecraft:lightning_bolt ~ ~ ~"
]
},
"excluded": [
"minecraft:wooden_shovel"
]
}
Note: The executor of the commands is the game server, not the player who consumes the specified item. However, the execution location and display name will still be the player's location and name.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as ei-1.0.jar — drop this file into the mods folder
- Download size: 10 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.
