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

public class SetStewEffectFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ezb
net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction
net.minecraft.class_152
net.minecraft.loot.function.SetStewEffectLootFunction
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetStewEffect

Field summary

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

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, List<SetStewEffectFunction$EffectEntry> stewEffects)

Method summary

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