Class EnchantWithLevelsFunction

java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction
All Implemented Interfaces:
BiFunction<ItemStack, LootContext, ItemStack>, LootItemFunction, LootContextUser, Validatable

public class EnchantWithLevelsFunction extends LootItemConditionalFunction
Applies a random enchantment to the stack.
See Also: