net.minecraft.loot.function

public class SetPotionLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

eiz
net.minecraft.world.level.storage.loot.functions.SetPotionFunction
net.minecraft.class_6662
net.minecraft.loot.function.SetPotionLootFunction
net.minecraft.unmapped.C_gkzvrccz
net.minecraft.loot.function.SetPotionFunction
net.minecraft.src.C_183035_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SetPotionLootFunction>
a
CODEC
field_45850
CODEC
f_ittypces
CODEC
f_290717_
private final RegistryEntry<Potion>
b
potion
field_35080
potion
f_nitduosl
potion
f_193067_

Constructor summary

ModifierConstructor
private (List<LootCondition> conditions, RegistryEntry<Potion> potion)

Method summary

Modifier and TypeMethod
public LootFunctionType
b()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()
public ItemStack
a(cmy o, egw arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_193074_, C_2811_ arg1)
public static ConditionalLootFunction$Builder<?>
a(cow o)
setPotion(Potion arg0)
method_38927(class_1842 arg0)
builder(Potion potion)
m_rvqthhip(C_almkolgw arg0)
builder(Potion potion)
m_193075_(C_1440_ p_193076_)