Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
FoodAttributes makes it so that every food can grant temporary attribute modifiers when eaten. Eat a steak and you can hit harder for a while, eat an apple and gain a pool of natural absorption, eat a fish to swim faster.
The attributes, values and durations are fully data-driven, so tuning values and adding new foods is extremely easy just with JSON. For more info check the docs.
The attributes get propagated through recipes, which means that this will be compatible with many cooking mods. This also makes it very easy to add compatibility with other mods, just set the attributes of the base version of each ingredient the mod adds(e.g: "tomato"), and whatever foods from that mod that needs that ingredient to craft(or smelt, or cook, etc) will have the appropriate attributes(e.g: "hamburguer").
You can edit global multipliers, multipliers that get applied for each crafting type, etc etc. You can configure a bunch of stuff, again, go check the docs.
The default datapack that comes with the mod has built-in support for Farmer's Delight, My Nether's Delight, No Man's Land, and of course, Vanilla Minecraft. The mod also has a special layer to support Cuisine's Delight, which makes it so that perfectly cooked items get buffed attributes and durations. This is of course configurable.
This is technically an addon for AttributeSetter, which is a required dependency for this mod.



