Uses of Class
net.minecraft.world.item.enchantment.EnchantmentInstance
Package
Description
-
Uses of EnchantmentInstance in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionprivate List<EnchantmentInstance>
EnchantmentMenu.getEnchantmentList
(ItemStack p_39472_, int p_39473_, int p_39474_) -
Uses of EnchantmentInstance in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic void
EnchantedBookItem.addEnchantment
(ItemStack p_41154_, EnchantmentInstance p_41155_) static ItemStack
EnchantedBookItem.createForEnchantment
(EnchantmentInstance p_41162_) -
Uses of EnchantmentInstance in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic List<EnchantmentInstance>
EnchantmentHelper.getAvailableEnchantmentResults
(int p_44818_, ItemStack p_44819_, boolean p_44820_) static List<EnchantmentInstance>
EnchantmentHelper.selectEnchantment
(RandomSource p_220298_, ItemStack p_220299_, int p_220300_, boolean p_220301_) Modifier and TypeMethodDescriptionstatic void
EnchantmentHelper.filterCompatibleEnchantments
(List<EnchantmentInstance> p_44863_, EnchantmentInstance p_44864_) Modifier and TypeMethodDescriptionstatic void
EnchantmentHelper.filterCompatibleEnchantments
(List<EnchantmentInstance> p_44863_, EnchantmentInstance p_44864_)