Class SetStewEffectFunction

java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction
All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>, LootItemFunction, LootContextUser

public class SetStewEffectFunction extends LootItemConditionalFunction
LootItemFunction that adds an effect to any suspicious stew items. A random effect is chosen from the given map every time.