
This mod allows for foods to be added, removed, or tweaked for any item in Minecraft, including modded ones.
Configurable with this mod:
Item: the item that will have this food.
Hunger: How much hunger the food restores, must be an int
Saturation: Saturation multiplier of this food, actual saturation restored will be this number * hunger.
Always Edible: If this food can be eaten when at max hunger.
Meat: Whether this food item can be used to heal dogs.
Snack: If this food can be eeaten quickly or not (eg, kelp vs apple)
Effects: The status effects granted upon consumption of the food.
the config can be reloaded via Minecraft's reload function.
Example Entry
{ "item": "minecraft:enchanted_golden_apple", "hunger": 4, "saturation": 1.2, "always_edible": true, "snack": false, "meat": false, "effects": [ { "id": "minecraft:regeneration", "duration": 400, "amplifier": 1, "chance": 1.0 }, { "id": "minecraft:resistance", "duration": 6000, "amplifier": 0, "chance": 1.0 }, { "id": "minecraft:fire_resistance", "duration": 6000, "amplifier": 0, "chance": 1.0 }, { "id": "minecraft:absorption", "duration": 2400, "amplifier": 3, "chance": 1.0 } ] }
Contact info
Discord for all of my projects: https://discord.gg/T6xdX7G