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

public class SetStewEffectFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

esw
net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction
net.minecraft.class_152
net.minecraft.loot.function.SetStewEffectLootFunction
net.minecraft.src.C_2961_
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
f_291304_
public static final com.mojang.serialization.MapCodec<SetStewEffectFunction>
a
CODEC
field_45851
CODEC
f_291232_
private final List<SetStewEffectFunction$EffectEntry>
c
effects
field_45853
stewEffects
f_290649_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetStewEffectFunction>
b()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public ItemStack
a(cur arg0, eqk arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_81224_, C_2811_ arg1)
public static SetStewEffectFunction$Builder
c()
stewEffect()
method_637()
builder()
m_81228_()