Package net.minecraft.enchantment
Enum Class EnchantmentTarget
- All Implemented Interfaces:
Serializable
,Comparable<EnchantmentTarget>
,Constable
- Mappings:
Namespace Name official buk
intermediary net/minecraft/class_1886
named net/minecraft/enchantment/EnchantmentTarget
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
isAcceptableItem
(Item item) static EnchantmentTarget
Returns the enum constant of this class with the specified name.static EnchantmentTarget[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARMOR
- Mappings:
Namespace Name Mixin selector official a
Lbuk;a:Lbuk;
intermediary field_9068
Lnet/minecraft/class_1886;field_9068:Lnet/minecraft/class_1886;
named ARMOR
Lnet/minecraft/enchantment/EnchantmentTarget;ARMOR:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_FEET
- Mappings:
Namespace Name Mixin selector official b
Lbuk;b:Lbuk;
intermediary field_9079
Lnet/minecraft/class_1886;field_9079:Lnet/minecraft/class_1886;
named ARMOR_FEET
Lnet/minecraft/enchantment/EnchantmentTarget;ARMOR_FEET:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_LEGS
- Mappings:
Namespace Name Mixin selector official c
Lbuk;c:Lbuk;
intermediary field_9076
Lnet/minecraft/class_1886;field_9076:Lnet/minecraft/class_1886;
named ARMOR_LEGS
Lnet/minecraft/enchantment/EnchantmentTarget;ARMOR_LEGS:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_CHEST
- Mappings:
Namespace Name Mixin selector official d
Lbuk;d:Lbuk;
intermediary field_9071
Lnet/minecraft/class_1886;field_9071:Lnet/minecraft/class_1886;
named ARMOR_CHEST
Lnet/minecraft/enchantment/EnchantmentTarget;ARMOR_CHEST:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_HEAD
- Mappings:
Namespace Name Mixin selector official e
Lbuk;e:Lbuk;
intermediary field_9080
Lnet/minecraft/class_1886;field_9080:Lnet/minecraft/class_1886;
named ARMOR_HEAD
Lnet/minecraft/enchantment/EnchantmentTarget;ARMOR_HEAD:Lnet/minecraft/enchantment/EnchantmentTarget;
-
WEAPON
- Mappings:
Namespace Name Mixin selector official f
Lbuk;f:Lbuk;
intermediary field_9074
Lnet/minecraft/class_1886;field_9074:Lnet/minecraft/class_1886;
named WEAPON
Lnet/minecraft/enchantment/EnchantmentTarget;WEAPON:Lnet/minecraft/enchantment/EnchantmentTarget;
-
DIGGER
- Mappings:
Namespace Name Mixin selector official g
Lbuk;g:Lbuk;
intermediary field_9069
Lnet/minecraft/class_1886;field_9069:Lnet/minecraft/class_1886;
named DIGGER
Lnet/minecraft/enchantment/EnchantmentTarget;DIGGER:Lnet/minecraft/enchantment/EnchantmentTarget;
-
FISHING_ROD
- Mappings:
Namespace Name Mixin selector official h
Lbuk;h:Lbuk;
intermediary field_9072
Lnet/minecraft/class_1886;field_9072:Lnet/minecraft/class_1886;
named FISHING_ROD
Lnet/minecraft/enchantment/EnchantmentTarget;FISHING_ROD:Lnet/minecraft/enchantment/EnchantmentTarget;
-
TRIDENT
- Mappings:
Namespace Name Mixin selector official i
Lbuk;i:Lbuk;
intermediary field_9073
Lnet/minecraft/class_1886;field_9073:Lnet/minecraft/class_1886;
named TRIDENT
Lnet/minecraft/enchantment/EnchantmentTarget;TRIDENT:Lnet/minecraft/enchantment/EnchantmentTarget;
-
BREAKABLE
- Mappings:
Namespace Name Mixin selector official j
Lbuk;j:Lbuk;
intermediary field_9082
Lnet/minecraft/class_1886;field_9082:Lnet/minecraft/class_1886;
named BREAKABLE
Lnet/minecraft/enchantment/EnchantmentTarget;BREAKABLE:Lnet/minecraft/enchantment/EnchantmentTarget;
-
BOW
- Mappings:
Namespace Name Mixin selector official k
Lbuk;k:Lbuk;
intermediary field_9070
Lnet/minecraft/class_1886;field_9070:Lnet/minecraft/class_1886;
named BOW
Lnet/minecraft/enchantment/EnchantmentTarget;BOW:Lnet/minecraft/enchantment/EnchantmentTarget;
-
WEARABLE
- Mappings:
Namespace Name Mixin selector official l
Lbuk;l:Lbuk;
intermediary field_9078
Lnet/minecraft/class_1886;field_9078:Lnet/minecraft/class_1886;
named WEARABLE
Lnet/minecraft/enchantment/EnchantmentTarget;WEARABLE:Lnet/minecraft/enchantment/EnchantmentTarget;
-
CROSSBOW
- Mappings:
Namespace Name Mixin selector official m
Lbuk;m:Lbuk;
intermediary field_9081
Lnet/minecraft/class_1886;field_9081:Lnet/minecraft/class_1886;
named CROSSBOW
Lnet/minecraft/enchantment/EnchantmentTarget;CROSSBOW:Lnet/minecraft/enchantment/EnchantmentTarget;
-
VANISHABLE
- Mappings:
Namespace Name Mixin selector official n
Lbuk;n:Lbuk;
intermediary field_23747
Lnet/minecraft/class_1886;field_23747:Lnet/minecraft/class_1886;
named VANISHABLE
Lnet/minecraft/enchantment/EnchantmentTarget;VANISHABLE:Lnet/minecraft/enchantment/EnchantmentTarget;
-
-
Constructor Details
-
EnchantmentTarget
private EnchantmentTarget()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isAcceptableItem
- Mappings:
Namespace Name Mixin selector official a
Lbuk;a(Lbql;)Z
intermediary method_8177
Lnet/minecraft/class_1886;method_8177(Lnet/minecraft/class_1792;)Z
named isAcceptableItem
Lnet/minecraft/enchantment/EnchantmentTarget;isAcceptableItem(Lnet/minecraft/item/Item;)Z
-