net.minecraft.world.level.storage.loot.functions

public class SetStewEffectFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fea
net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction
net.minecraft.class_152

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<List<SetStewEffectFunction$EffectEntry>>
b
EFFECTS_LIST
field_45852
public static final com.mojang.serialization.MapCodec<SetStewEffectFunction>
a
CODEC
field_45851
private final List<SetStewEffectFunction$EffectEntry>
c
effects
field_45853

Constructor summary

ModifierConstructor
(List<LootItemCondition> arg0, List<SetStewEffectFunction$EffectEntry> arg1)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetStewEffectFunction>
b()
getType()
method_29321()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
public ItemStack
a(dba arg0, fbo arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
public static SetStewEffectFunction$Builder
c()
stewEffect()
method_637()