FoodEffects
FoodEffects is a modification for Minecraft version 1.16.4, built on the Forge platform, that allows you to customize the effects of consuming various food items in the game.
Installation
To start using the mod, download the JAR file and place it in the "mods" folder of your game.
How to Use
If you haven't worked with data packs before, it's recommended to familiarize yourself with the relevant Minecraft documentation.
To configure food effects, you need to create JSON files in the data/foodeffects/food_effects/ directory.
Configuration Example
Here's an example configuration that adds two effects to an apple:
- Speed I effect with 10-second duration and 100% activation chance
- Haste II effect with 10-second duration and 50% activation chance
{
"minecraft:apple": [
{
"effect": "minecraft:speed",
"amplifier": 0,
"duration": 200,
"possibility": 1.0
},
{
"effect": "minecraft:haste",
"amplifier": 1,
"duration": 200,
"possibility": 0.5
}
]
}