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

public class EnchantRandomlyFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

csy
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction
net.minecraft.class_109
net.minecraft.loot.function.EnchantRandomlyLootFunction
net.minecraft.world.storage.loot.functions.EnchantRandomly
net.minecraft.server.v1_15_R1.LootItemFunctionEnchant

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ItemStack
a(bek arg0, cru arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
c()
randomApplicableEnchantment()
method_489()
builder()
func_215900_c()