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

public class EnchantRandomlyFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

djt
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction
net.minecraft.class_109
net.minecraft.unmapped.C_mcyropux
net.minecraft.loot.function.EnchantRandomlyLootFunction
net.minecraft.src.C_2906_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionEnchant

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_1031
f_hmtatkky
LOGGER
f_80414_
final List<Enchantment>
b
enchantments
field_1030
f_dtvmmsyz
enchantments
f_80415_

Constructor summary

ModifierConstructor
(LootItemCondition[] p_80419_, Collection<Enchantment> arg1)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
m_ngvoddkv()
getType()
m_7162_()
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_80430_, C_2811_ arg1)
private static ItemStack
a(bqp arg0, buj arg1, Random arg2)
enchantItem(ItemStack arg0, Enchantment arg1, Random arg2)
method_26266(class_1799 arg0, class_1887 arg1, Random arg2)
m_susyvyur(C_sddaxwyk arg0, C_jxtrubuh arg1, Random arg2)
addEnchantmentToStack(ItemStack stack, Enchantment enchantment, Random random)
m_80424_(C_1391_ p_80425_, C_1505_ p_80426_, Random p_80427_)
public static EnchantRandomlyFunction$Builder
c()
randomEnchantment()
method_35520()
m_oylffrhc()
create()
m_165191_()
public static LootItemConditionalFunction$Builder<?>
d()
randomApplicableEnchantment()
method_489()
m_hgxjeanh()
builder()
m_80440_()