Uses of Enum Class
net.minecraft.enchantment.EnchantmentTarget
-
Uses of EnchantmentTarget in net.minecraft.enchantment
Modifier and TypeMethodDescriptionstatic EnchantmentTarget
Returns the enum constant of this class with the specified name.static EnchantmentTarget[]
EnchantmentTarget.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionprotected
Enchantment
(Enchantment.Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes) protected
LuckEnchantment
(Enchantment.Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes) protected
LureEnchantment
(Enchantment.Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes) -
Uses of EnchantmentTarget in net.minecraft.item
Modifier and TypeMethodDescriptionboolean
ItemGroup.containsEnchantments
(@Nullable EnchantmentTarget target) ItemGroup.setEnchantments
(EnchantmentTarget[] targets)