Package net.minecraft.enchantment
Enum Class ProtectionEnchantment.ProtectionType
java.lang.Object
java.lang.Enum<ProtectionEnchantment.ProtectionType>
net.minecraft.enchantment.ProtectionEnchantment.ProtectionType
- All Implemented Interfaces:
Serializable,Comparable<ProtectionEnchantment.ProtectionType>,Constable
- Enclosing class:
- ProtectionEnchantment
public static enum ProtectionEnchantment.ProtectionType
extends Enum<ProtectionEnchantment.ProtectionType>
- Mappings:
Namespace Name official awq$aintermediary net/minecraft/class_1140$class_2707named net/minecraft/enchantment/ProtectionEnchantment$ProtectionType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintReturns the enum constant of this class with the specified name.static ProtectionEnchantment.ProtectionType[]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 official aLawq$a;a:Lawq$a;intermediary field_12424Lnet/minecraft/class_1140$class_2707;field_12424:Lnet/minecraft/class_1140$class_2707;named ALLLnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;ALL:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
-
FIRE
- Mappings:
Namespace Name Mixin selector official bLawq$a;b:Lawq$a;intermediary field_12425Lnet/minecraft/class_1140$class_2707;field_12425:Lnet/minecraft/class_1140$class_2707;named FIRELnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;FIRE:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
-
FALL
- Mappings:
Namespace Name Mixin selector official cLawq$a;c:Lawq$a;intermediary field_12426Lnet/minecraft/class_1140$class_2707;field_12426:Lnet/minecraft/class_1140$class_2707;named FALLLnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;FALL:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
-
EXPLOSION
- Mappings:
Namespace Name Mixin selector official dLawq$a;d:Lawq$a;intermediary field_12427Lnet/minecraft/class_1140$class_2707;field_12427:Lnet/minecraft/class_1140$class_2707;named EXPLOSIONLnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;EXPLOSION:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
-
PROJECTILE
- Mappings:
Namespace Name Mixin selector official eLawq$a;e:Lawq$a;intermediary field_12428Lnet/minecraft/class_1140$class_2707;field_12428:Lnet/minecraft/class_1140$class_2707;named PROJECTILELnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;PROJECTILE:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
-
-
Field Details
-
field_17481
- Mappings:
Namespace Name Mixin selector official fLawq$a;f:Ljava/lang/String;intermediary field_17481Lnet/minecraft/class_1140$class_2707;field_17481:Ljava/lang/String;named field_17481Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_17481:Ljava/lang/String;
-
field_12430
private final int field_12430- Mappings:
Namespace Name Mixin selector official gLawq$a;g:Iintermediary field_12430Lnet/minecraft/class_1140$class_2707;field_12430:Inamed field_12430Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12430:I
-
field_12431
private final int field_12431- Mappings:
Namespace Name Mixin selector official hLawq$a;h:Iintermediary field_12431Lnet/minecraft/class_1140$class_2707;field_12431:Inamed field_12431Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12431:I
-
-
Constructor Details
-
ProtectionType
-
-
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
-
method_11468
public int method_11468()- Mappings:
Namespace Name Mixin selector official bLawq$a;b()Iintermediary method_11468Lnet/minecraft/class_1140$class_2707;method_11468()Inamed method_11468Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;method_11468()I
-
method_11469
public int method_11469()- Mappings:
Namespace Name Mixin selector official cLawq$a;c()Iintermediary method_11469Lnet/minecraft/class_1140$class_2707;method_11469()Inamed method_11469Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;method_11469()I
-