Package net.minecraft.enchantment
Enum Class ProtectionEnchantment.Type
- All Implemented Interfaces:
Serializable,Comparable<ProtectionEnchantment.Type>,Constable
- Enclosing class:
ProtectionEnchantment
- Mappings:
Namespace Name named net/minecraft/enchantment/ProtectionEnchantment$Typeintermediary net/minecraft/class_1900$class_1901official dal$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProtectionEnchantment.TypeReturns the enum constant of this class with the specified name.static ProtectionEnchantment.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
- Mappings:
Namespace Name Mixin selector named ALLLnet/minecraft/enchantment/ProtectionEnchantment$Type;ALL:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;intermediary field_9138Lnet/minecraft/class_1900$class_1901;field_9138:Lnet/minecraft/class_1900$class_1901;official aLdal$a;a:Ldal$a;
-
FIRE
- Mappings:
Namespace Name Mixin selector named FIRELnet/minecraft/enchantment/ProtectionEnchantment$Type;FIRE:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;intermediary field_9139Lnet/minecraft/class_1900$class_1901;field_9139:Lnet/minecraft/class_1900$class_1901;official bLdal$a;b:Ldal$a;
-
FALL
- Mappings:
Namespace Name Mixin selector named FALLLnet/minecraft/enchantment/ProtectionEnchantment$Type;FALL:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;intermediary field_9140Lnet/minecraft/class_1900$class_1901;field_9140:Lnet/minecraft/class_1900$class_1901;official cLdal$a;c:Ldal$a;
-
EXPLOSION
- Mappings:
Namespace Name Mixin selector named EXPLOSIONLnet/minecraft/enchantment/ProtectionEnchantment$Type;EXPLOSION:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;intermediary field_9141Lnet/minecraft/class_1900$class_1901;field_9141:Lnet/minecraft/class_1900$class_1901;official dLdal$a;d:Ldal$a;
-
PROJECTILE
- Mappings:
Namespace Name Mixin selector named PROJECTILELnet/minecraft/enchantment/ProtectionEnchantment$Type;PROJECTILE:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;intermediary field_9142Lnet/minecraft/class_1900$class_1901;field_9142:Lnet/minecraft/class_1900$class_1901;official eLdal$a;e:Ldal$a;
-
-
Constructor Details
-
Type
private Type()
-
-
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
-