Effect black list
The Effect black list mod provides players with extended control over mob effects in Minecraft. With it, you can completely remove unwanted effects or replace them with other, more useful ones.
A particularly useful feature is the ability to disable effects from certain types of food. For example, you can configure the mod so that golden apples don't provide regeneration effects if this disrupts the balance of your server or single-player world.
Configuration Settings
All parameters are configured through the configuration file:
#Add effect ID to remove it. For replacement use the format "source_effect=replacement_effect"
effects = ["minecraft:strength", "minecraft:strength=regeneration"]
#Add food ID to remove effects from it
foods = ["minecraft:golden_apple"]
#Writes all effect IDs to a file
print_effect_id = false
In the example above, the strength effect is completely removed, and when the strength effect is obtained, it is replaced with regeneration. Also, all effects from golden apples are removed.