Uses of Enum Class
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 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.Constructors in net.minecraft.enchantment with parameters of type EnchantmentTargetModifierConstructorDescriptionprotected
Enchantment
(Enchantment.Rarity rarity, EnchantmentTarget target, EquipmentSlot[] slotTypes) protected
LuckEnchantment
(Enchantment.Rarity rarity, EnchantmentTarget target, EquipmentSlot[] slotTypes) protected
LureEnchantment
(Enchantment.Rarity rarity, EnchantmentTarget target, EquipmentSlot[] slotTypes) -
Uses of EnchantmentTarget in net.minecraft.item
Method parameters in net.minecraft.item with type arguments of type EnchantmentTargetModifier and TypeMethodDescriptionprivate static void
ItemGroups.addAllLevelEnchantedBooks
(ItemGroup.Entries entries, RegistryWrapper<Enchantment> registryWrapper, Set<EnchantmentTarget> enchantmentTargets, ItemGroup.StackVisibility visibility) private static void
ItemGroups.addMaxLevelEnchantedBooks
(ItemGroup.Entries entries, RegistryWrapper<Enchantment> registryWrapper, Set<EnchantmentTarget> enchantmentTargets, ItemGroup.StackVisibility visibility)