Uses of Enum
net.minecraft.enchantment.EnchantmentTarget
Packages that use EnchantmentTarget
-
Uses of EnchantmentTarget in net.minecraft.enchantment
Fields in net.minecraft.enchantment declared as EnchantmentTargetMethods in net.minecraft.enchantment that return EnchantmentTargetModifier and TypeMethodDescriptionstatic EnchantmentTarget
Returns the enum constant of this type with the specified name.static EnchantmentTarget[]
EnchantmentTarget.values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in net.minecraft.enchantment with parameters of type EnchantmentTargetModifierConstructorDescriptionprotected
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
Fields in net.minecraft.item declared as EnchantmentTargetMethods in net.minecraft.item that return EnchantmentTargetMethods in net.minecraft.item with parameters of type EnchantmentTargetModifier and TypeMethodDescriptionboolean
ItemGroup.containsEnchantments(@Nullable EnchantmentTarget target)
ItemGroup.setEnchantments(EnchantmentTarget[] targets)