Uses of Class
net.minecraft.world.item.enchantment.EnchantmentInstance
Packages that use EnchantmentInstance
Package
Description
-
Uses of EnchantmentInstance in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory that return types with arguments of type EnchantmentInstanceModifier 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
Methods in net.minecraft.world.item with parameters of type EnchantmentInstanceModifier and TypeMethodDescriptionstatic ItemStack
EnchantedBookItem.createForEnchantment
(EnchantmentInstance p_41162_) -
Uses of EnchantmentInstance in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment that return types with arguments of type EnchantmentInstanceModifier 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_) Methods in net.minecraft.world.item.enchantment with parameters of type EnchantmentInstanceModifier and TypeMethodDescriptionstatic void
EnchantmentHelper.filterCompatibleEnchantments
(List<EnchantmentInstance> p_44863_, EnchantmentInstance p_44864_) Method parameters in net.minecraft.world.item.enchantment with type arguments of type EnchantmentInstanceModifier and TypeMethodDescriptionstatic void
EnchantmentHelper.filterCompatibleEnchantments
(List<EnchantmentInstance> p_44863_, EnchantmentInstance p_44864_)