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
(RegistryAccess p_345264_, ItemStack p_39472_, int p_39473_, int p_39474_) -
Uses of EnchantmentInstance in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic 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_, Stream<Holder<Enchantment>> p_345348_) static List
<EnchantmentInstance> EnchantmentHelper.selectEnchantment
(RandomSource p_220298_, ItemStack p_220299_, int p_220300_, Stream<Holder<Enchantment>> p_346061_) 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_)