net.minecraft.loot.function

public class EnchantWithLevelsLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

dmh
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction
net.minecraft.class_106
net.minecraft.loot.function.EnchantWithLevelsLootFunction
net.minecraft.unmapped.C_hujvlqyo
net.minecraft.loot.function.EnchantWithLevelsLootFunction
net.minecraft.src.C_2910_

Field summary

Modifier and TypeField
final LootNumberProvider
a
levels
field_1026
range
f_uznihzkv
range
f_80471_
final boolean
b
treasure
field_1027
treasureEnchantmentsAllowed
f_mdbmdlse
treasureEnchantmentsAllowed
f_80472_

Constructor summary

ModifierConstructor
(LootCondition[] conditions, LootNumberProvider range, boolean treasureEnchantmentsAllowed)

Method summary

Modifier and TypeMethod
public LootFunctionType
a()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()
public Set<LootContextParameter<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_oozesizv()
getRequiredParameters()
m_6231_()
public ItemStack
a(buw o, dlc 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_80484_, C_2811_ arg1)
public static EnchantWithLevelsLootFunction$Builder
a(doq o)
enchantWithLevels(NumberProvider arg0)
method_481(class_5658 arg0)
builder(LootNumberProvider range)
m_baumhjth(C_iajmfyig arg0)
builder(LootNumberProvider range)
m_165196_(C_141501_ p_165197_)