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 alw$a
intermediary net/minecraft/class_1140$class_2707
named net/minecraft/enchantment/ProtectionEnchantment$ProtectionType
  • Enum Constant Details

    • ALL

      public static final ProtectionEnchantment.ProtectionType ALL
      Mappings:
      Namespace Name Mixin selector
      official a Lalw$a;a:Lalw$a;
      intermediary field_12424 Lnet/minecraft/class_1140$class_2707;field_12424:Lnet/minecraft/class_1140$class_2707;
      named ALL Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;ALL:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
    • FIRE

      public static final ProtectionEnchantment.ProtectionType FIRE
      Mappings:
      Namespace Name Mixin selector
      official b Lalw$a;b:Lalw$a;
      intermediary field_12425 Lnet/minecraft/class_1140$class_2707;field_12425:Lnet/minecraft/class_1140$class_2707;
      named FIRE Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;FIRE:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
    • FALL

      public static final ProtectionEnchantment.ProtectionType FALL
      Mappings:
      Namespace Name Mixin selector
      official c Lalw$a;c:Lalw$a;
      intermediary field_12426 Lnet/minecraft/class_1140$class_2707;field_12426:Lnet/minecraft/class_1140$class_2707;
      named FALL Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;FALL:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
    • EXPLOSION

      public static final ProtectionEnchantment.ProtectionType EXPLOSION
      Mappings:
      Namespace Name Mixin selector
      official d Lalw$a;d:Lalw$a;
      intermediary field_12427 Lnet/minecraft/class_1140$class_2707;field_12427:Lnet/minecraft/class_1140$class_2707;
      named EXPLOSION Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;EXPLOSION:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
    • PROJECTILE

      public static final ProtectionEnchantment.ProtectionType PROJECTILE
      Mappings:
      Namespace Name Mixin selector
      official e Lalw$a;e:Lalw$a;
      intermediary field_12428 Lnet/minecraft/class_1140$class_2707;field_12428:Lnet/minecraft/class_1140$class_2707;
      named PROJECTILE Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;PROJECTILE:Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;
  • Field Details

    • field_12429

      private final String field_12429
      Mappings:
      Namespace Name Mixin selector
      official f Lalw$a;f:Ljava/lang/String;
      intermediary field_12429 Lnet/minecraft/class_1140$class_2707;field_12429:Ljava/lang/String;
      named field_12429 Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12429:Ljava/lang/String;
    • field_12430

      private final int field_12430
      Mappings:
      Namespace Name Mixin selector
      official g Lalw$a;g:I
      intermediary field_12430 Lnet/minecraft/class_1140$class_2707;field_12430:I
      named field_12430 Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12430:I
    • field_12431

      private final int field_12431
      Mappings:
      Namespace Name Mixin selector
      official h Lalw$a;h:I
      intermediary field_12431 Lnet/minecraft/class_1140$class_2707;field_12431:I
      named field_12431 Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12431:I
    • field_12432

      private final int field_12432
      Mappings:
      Namespace Name Mixin selector
      official i Lalw$a;i:I
      intermediary field_12432 Lnet/minecraft/class_1140$class_2707;field_12432:I
      named field_12432 Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;field_12432:I
  • Constructor Details

    • ProtectionType

      private ProtectionType(String string, int int2, int int3, int int4)
  • Method Details

    • values

      public static ProtectionEnchantment.ProtectionType[] 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

      public static ProtectionEnchantment.ProtectionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • method_11467

      public String method_11467()
      Mappings:
      Namespace Name Mixin selector
      official a Lalw$a;a()Ljava/lang/String;
      intermediary method_11467 Lnet/minecraft/class_1140$class_2707;method_11467()Ljava/lang/String;
      named method_11467 Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;method_11467()Ljava/lang/String;
    • method_11468

      public int method_11468()
      Mappings:
      Namespace Name Mixin selector
      official b Lalw$a;b()I
      intermediary method_11468 Lnet/minecraft/class_1140$class_2707;method_11468()I
      named method_11468 Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;method_11468()I
    • method_11469

      public int method_11469()
      Mappings:
      Namespace Name Mixin selector
      official c Lalw$a;c()I
      intermediary method_11469 Lnet/minecraft/class_1140$class_2707;method_11469()I
      named method_11469 Lnet/minecraft/enchantment/ProtectionEnchantment$ProtectionType;method_11469()I