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

public class SetEnchantmentsFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dki
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction
net.minecraft.class_5642
net.minecraft.unmapped.C_bpyfibfg
net.minecraft.loot.function.SetEnchantmentsLootFunction
net.minecraft.src.C_141470_
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction

Field summary

Modifier and TypeField
final Map<Enchantment, NumberProvider>
a
enchantments
field_27907
f_lrrfbeoq
enchantments
f_165334_
final boolean
b
add
field_27908
f_unibonct
add
f_165335_

Constructor summary

ModifierConstructor
(LootItemCondition[] p_165338_, Map<Enchantment, NumberProvider> p_165339_, boolean arg2)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
m_ngvoddkv()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
m_6231_()
public ItemStack
a(bqp arg0, dip arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_165347_, C_2811_ arg1)
private static void
a(Map<buj, Integer> arg0, buj arg1, int arg2)
updateEnchantment(Map<Enchantment, Integer> arg0, Enchantment arg1, int arg2)
method_32411(Map<class_1887, Integer> arg0, class_1887 arg1, int arg2)
m_nbraboun(Map<C_jxtrubuh, Integer> arg0, C_jxtrubuh arg1, int arg2)
addEnchantmentToMap(Map<Enchantment, Integer> map, Enchantment enchantment, int level)
m_165355_(Map<C_1505_, Integer> p_165356_, C_1505_ p_165357_, int p_165358_)