Uses of Class
net.minecraft.enchantment.EnchantmentLevelEntry
Packages that use EnchantmentLevelEntry
-
Uses of EnchantmentLevelEntry in net.minecraft.enchantment
Methods in net.minecraft.enchantment that return types with arguments of type EnchantmentLevelEntryModifier and TypeMethodDescriptionstatic List
<EnchantmentLevelEntry> EnchantmentHelper.generateEnchantments
(Random random, ItemStack stack, int level, Stream<RegistryEntry<Enchantment>> possibleEnchantments) Generate the enchantments for enchanting thestack
.static List
<EnchantmentLevelEntry> EnchantmentHelper.getPossibleEntries
(int level, ItemStack stack, Stream<RegistryEntry<Enchantment>> possibleEnchantments) Gets all the possible entries for enchanting thestack
at the givenpower
.Methods in net.minecraft.enchantment with parameters of type EnchantmentLevelEntryModifier and TypeMethodDescriptionstatic void
EnchantmentHelper.removeConflicts
(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry) Remove entries conflicting with the picked entry from the possible entries.Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentLevelEntryModifier and TypeMethodDescriptionstatic void
EnchantmentHelper.removeConflicts
(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry) Remove entries conflicting with the picked entry from the possible entries. -
Uses of EnchantmentLevelEntry in net.minecraft.item
Methods in net.minecraft.item with parameters of type EnchantmentLevelEntryModifier and TypeMethodDescriptionstatic ItemStack
EnchantedBookItem.forEnchantment
(EnchantmentLevelEntry info) -
Uses of EnchantmentLevelEntry in net.minecraft.screen
Methods in net.minecraft.screen that return types with arguments of type EnchantmentLevelEntryModifier and TypeMethodDescriptionprivate List
<EnchantmentLevelEntry> EnchantmentScreenHandler.generateEnchantments
(DynamicRegistryManager registryManager, ItemStack stack, int slot, int level)