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 agy$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
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final intprivate final intprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateProtectionType(String string, int int2, int int3, int int4) -
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 aLagy$a;a:Lagy$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 bLagy$a;b:Lagy$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 cLagy$a;c:Lagy$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 dLagy$a;d:Lagy$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 eLagy$a;e:Lagy$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_12429
- Mappings:
Namespace Name Mixin selector official fLagy$a;f:Ljava/lang/String;intermediary field_12429Lnet/minecraft/class_1140$class_2707;field_12429:Ljava/lang/String;named field_12429Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12429:Ljava/lang/String;
-
field_12430
private final int field_12430- Mappings:
Namespace Name Mixin selector official gLagy$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 hLagy$a;h:Iintermediary field_12431Lnet/minecraft/class_1140$class_2707;field_12431:Inamed field_12431Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12431:I
-
field_12432
private final int field_12432- Mappings:
Namespace Name Mixin selector official iLagy$a;i:Iintermediary field_12432Lnet/minecraft/class_1140$class_2707;field_12432:Inamed field_12432Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12432: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_11467
- Mappings:
Namespace Name Mixin selector official aLagy$a;a()Ljava/lang/String;intermediary method_11467Lnet/minecraft/class_1140$class_2707;method_11467()Ljava/lang/String;named method_11467Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;method_11467()Ljava/lang/String;
-
method_11468
public int method_11468()- Mappings:
Namespace Name Mixin selector official bLagy$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 cLagy$a;c()Iintermediary method_11469Lnet/minecraft/class_1140$class_2707;method_11469()Inamed method_11469Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;method_11469()I
-