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

public class EnchantRandomlyFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dac
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction
net.minecraft.class_109
net.minecraft.unmapped.C_mcyropux
net.minecraft.loot.function.EnchantRandomlyLootFunction
net.minecraft.loot.functions.EnchantRandomly
net.minecraft.server.v1_16_R3.LootItemFunctionEnchant

Field summary

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

Constructor summary

ModifierConstructor
private (LootItemCondition[] conditions, Collection<Enchantment> enchantments)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
m_ngvoddkv()
getType()
func_230425_b_()
public ItemStack
a(bmb arg0, cyv 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)
func_215859_a(ItemStack arg0, LootContext arg1)
private static ItemStack
a(bmb arg0, bps 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)
method_26266(ItemStack arg0, Enchantment arg1, Random arg2)
func_237420_a_(ItemStack arg0, Enchantment arg1, Random arg2)
public static LootItemConditionalFunction$Builder<?>
d()
randomApplicableEnchantment()
method_489()
m_hgxjeanh()
builder()
func_215900_c()