Uses of Class
net.minecraft.enchantment.EnchantmentLevelEntry
-
Uses of EnchantmentLevelEntry in net.minecraft.enchantment
Modifier and TypeMethodDescriptionstatic List
<EnchantmentLevelEntry> EnchantmentHelper.generateEnchantments
(FeatureSet enabledFeatures, Random random, ItemStack stack, int level, boolean treasureAllowed) Generate the enchantments for enchanting thestack
.static List
<EnchantmentLevelEntry> EnchantmentHelper.getPossibleEntries
(FeatureSet enabledFeatures, int level, ItemStack stack, boolean treasureAllowed) Gets all the possible entries for enchanting thestack
at the givenpower
.Modifier and TypeMethodDescriptionstatic void
EnchantmentHelper.removeConflicts
(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry) Remove entries conflicting with the picked entry from the possible entries.Modifier 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
Modifier and TypeMethodDescriptionstatic ItemStack
EnchantedBookItem.forEnchantment
(EnchantmentLevelEntry info) -
Uses of EnchantmentLevelEntry in net.minecraft.screen
Modifier and TypeMethodDescriptionprivate List
<EnchantmentLevelEntry> EnchantmentScreenHandler.generateEnchantments
(FeatureSet enabledFeatures, ItemStack stack, int slot, int level)