Uses of Class
net.minecraft.enchantment.EnchantmentLevelEntry
| Package | Description |
|---|---|
| net.minecraft.enchantment | |
| net.minecraft.item | |
| net.minecraft.screen |
-
Uses of EnchantmentLevelEntry in net.minecraft.enchantment
Methods in net.minecraft.enchantment that return types with arguments of type EnchantmentLevelEntry Modifier and Type Method Description static List<EnchantmentLevelEntry>EnchantmentHelper. generateEnchantments(Random random, ItemStack stack, int level, boolean treasureAllowed)Generate the enchantments for enchanting thestack.static List<EnchantmentLevelEntry>EnchantmentHelper. getPossibleEntries(int power, ItemStack stack, boolean treasureAllowed)Gets all the possible entries for enchanting thestackat the givenpower.Methods in net.minecraft.enchantment with parameters of type EnchantmentLevelEntry Modifier and Type Method Description static voidEnchantmentHelper. 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 EnchantmentLevelEntry Modifier and Type Method Description static voidEnchantmentHelper. 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 EnchantmentLevelEntry Modifier and Type Method Description static voidEnchantedBookItem. addEnchantment(ItemStack stack, EnchantmentLevelEntry entry)static ItemStackEnchantedBookItem. forEnchantment(EnchantmentLevelEntry info) -
Uses of EnchantmentLevelEntry in net.minecraft.screen
Methods in net.minecraft.screen that return types with arguments of type EnchantmentLevelEntry Modifier and Type Method Description private List<EnchantmentLevelEntry>EnchantmentScreenHandler. generateEnchantments(ItemStack stack, int slot, int level)