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
(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 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
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_, boolean p_44820_) static List<EnchantmentInstance>
EnchantmentHelper.selectEnchantment
(RandomSource p_220298_, ItemStack p_220299_, int p_220300_, boolean p_220301_) 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_)