net.minecraft.world.gen.loot.functions

public class EnchantRandomlyFunction

extends LootItemFunction

bcp
net.minecraft.class_2791
net.minecraft.world.gen.loot.functions.EnchantRandomlyFunction
net.minecraft.world.storage.loot.functions.EnchantRandomly

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
field_13214
LOGGER
LOGGER
private final List<Enchantment>
b
field_13215
enchantments
enchantments

Constructor summary

ModifierConstructor
public (LootItemCondition[] conditions, List<Enchantment> enchantments)

Method summary

Modifier and TypeMethod
public ItemStack
a(afj arg0, Random arg1, bcl arg2)
method_12029(class_1071 arg0, Random arg1, class_2782 arg2)
run(ItemStack arg0, Random arg1, LootContext arg2)
apply(ItemStack arg0, Random arg1, LootContext arg2)