Package net.minecraft.enchantment
Enum Class EnchantmentTarget
- All Implemented Interfaces:
Serializable,Comparable<EnchantmentTarget>,Constable
- Mappings:
Namespace Name intermediary net/minecraft/class_1886official ckfnamed 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 ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanisAcceptableItem(Item item) static EnchantmentTargetReturns 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 intermediary field_9068Lnet/minecraft/class_1886;field_9068:Lnet/minecraft/class_1886;official aLckf;a:Lckf;named ARMORLnet/minecraft/enchantment/EnchantmentTarget;ARMOR:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_FEET
- Mappings:
Namespace Name Mixin selector intermediary field_9079Lnet/minecraft/class_1886;field_9079:Lnet/minecraft/class_1886;official bLckf;b:Lckf;named ARMOR_FEETLnet/minecraft/enchantment/EnchantmentTarget;ARMOR_FEET:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_LEGS
- Mappings:
Namespace Name Mixin selector intermediary field_9076Lnet/minecraft/class_1886;field_9076:Lnet/minecraft/class_1886;official cLckf;c:Lckf;named ARMOR_LEGSLnet/minecraft/enchantment/EnchantmentTarget;ARMOR_LEGS:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_CHEST
- Mappings:
Namespace Name Mixin selector intermediary field_9071Lnet/minecraft/class_1886;field_9071:Lnet/minecraft/class_1886;official dLckf;d:Lckf;named ARMOR_CHESTLnet/minecraft/enchantment/EnchantmentTarget;ARMOR_CHEST:Lnet/minecraft/enchantment/EnchantmentTarget;
-
ARMOR_HEAD
- Mappings:
Namespace Name Mixin selector intermediary field_9080Lnet/minecraft/class_1886;field_9080:Lnet/minecraft/class_1886;official eLckf;e:Lckf;named ARMOR_HEADLnet/minecraft/enchantment/EnchantmentTarget;ARMOR_HEAD:Lnet/minecraft/enchantment/EnchantmentTarget;
-
WEAPON
- Mappings:
Namespace Name Mixin selector intermediary field_9074Lnet/minecraft/class_1886;field_9074:Lnet/minecraft/class_1886;official fLckf;f:Lckf;named WEAPONLnet/minecraft/enchantment/EnchantmentTarget;WEAPON:Lnet/minecraft/enchantment/EnchantmentTarget;
-
DIGGER
- Mappings:
Namespace Name Mixin selector intermediary field_9069Lnet/minecraft/class_1886;field_9069:Lnet/minecraft/class_1886;official gLckf;g:Lckf;named DIGGERLnet/minecraft/enchantment/EnchantmentTarget;DIGGER:Lnet/minecraft/enchantment/EnchantmentTarget;
-
FISHING_ROD
- Mappings:
Namespace Name Mixin selector intermediary field_9072Lnet/minecraft/class_1886;field_9072:Lnet/minecraft/class_1886;official hLckf;h:Lckf;named FISHING_RODLnet/minecraft/enchantment/EnchantmentTarget;FISHING_ROD:Lnet/minecraft/enchantment/EnchantmentTarget;
-
TRIDENT
- Mappings:
Namespace Name Mixin selector intermediary field_9073Lnet/minecraft/class_1886;field_9073:Lnet/minecraft/class_1886;official iLckf;i:Lckf;named TRIDENTLnet/minecraft/enchantment/EnchantmentTarget;TRIDENT:Lnet/minecraft/enchantment/EnchantmentTarget;
-
BREAKABLE
- Mappings:
Namespace Name Mixin selector intermediary field_9082Lnet/minecraft/class_1886;field_9082:Lnet/minecraft/class_1886;official jLckf;j:Lckf;named BREAKABLELnet/minecraft/enchantment/EnchantmentTarget;BREAKABLE:Lnet/minecraft/enchantment/EnchantmentTarget;
-
BOW
- Mappings:
Namespace Name Mixin selector intermediary field_9070Lnet/minecraft/class_1886;field_9070:Lnet/minecraft/class_1886;official kLckf;k:Lckf;named BOWLnet/minecraft/enchantment/EnchantmentTarget;BOW:Lnet/minecraft/enchantment/EnchantmentTarget;
-
WEARABLE
- Mappings:
Namespace Name Mixin selector intermediary field_9078Lnet/minecraft/class_1886;field_9078:Lnet/minecraft/class_1886;official lLckf;l:Lckf;named WEARABLELnet/minecraft/enchantment/EnchantmentTarget;WEARABLE:Lnet/minecraft/enchantment/EnchantmentTarget;
-
CROSSBOW
- Mappings:
Namespace Name Mixin selector intermediary field_9081Lnet/minecraft/class_1886;field_9081:Lnet/minecraft/class_1886;official mLckf;m:Lckf;named CROSSBOWLnet/minecraft/enchantment/EnchantmentTarget;CROSSBOW:Lnet/minecraft/enchantment/EnchantmentTarget;
-
VANISHABLE
- Mappings:
Namespace Name Mixin selector intermediary field_23747Lnet/minecraft/class_1886;field_23747:Lnet/minecraft/class_1886;official nLckf;n:Lckf;named VANISHABLELnet/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 intermediary method_8177Lnet/minecraft/class_1886;method_8177(Lnet/minecraft/class_1792;)Zofficial aLckf;a(Lcfs;)Znamed isAcceptableItemLnet/minecraft/enchantment/EnchantmentTarget;isAcceptableItem(Lnet/minecraft/item/Item;)Z
-