Enum Class ProtectionEnchantment.Type

java.lang.Object
java.lang.Enum<ProtectionEnchantment.Type>
net.minecraft.enchantment.ProtectionEnchantment.Type
All Implemented Interfaces:
Serializable, Comparable<ProtectionEnchantment.Type>, Constable
Enclosing class:
ProtectionEnchantment

public static enum ProtectionEnchantment.Type extends Enum<ProtectionEnchantment.Type>
Mappings:
Namespace Name
named net/minecraft/enchantment/ProtectionEnchantment$Type
intermediary net/minecraft/class_1900$class_1901
official dak$a
  • Enum Constant Details

    • ALL

      public static final ProtectionEnchantment.Type ALL
      Mappings:
      Namespace Name Mixin selector
      named ALL Lnet/minecraft/enchantment/ProtectionEnchantment$Type;ALL:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;
      intermediary field_9138 Lnet/minecraft/class_1900$class_1901;field_9138:Lnet/minecraft/class_1900$class_1901;
      official a Ldak$a;a:Ldak$a;
    • FIRE

      public static final ProtectionEnchantment.Type FIRE
      Mappings:
      Namespace Name Mixin selector
      named FIRE Lnet/minecraft/enchantment/ProtectionEnchantment$Type;FIRE:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;
      intermediary field_9139 Lnet/minecraft/class_1900$class_1901;field_9139:Lnet/minecraft/class_1900$class_1901;
      official b Ldak$a;b:Ldak$a;
    • FALL

      public static final ProtectionEnchantment.Type FALL
      Mappings:
      Namespace Name Mixin selector
      named FALL Lnet/minecraft/enchantment/ProtectionEnchantment$Type;FALL:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;
      intermediary field_9140 Lnet/minecraft/class_1900$class_1901;field_9140:Lnet/minecraft/class_1900$class_1901;
      official c Ldak$a;c:Ldak$a;
    • EXPLOSION

      public static final ProtectionEnchantment.Type EXPLOSION
      Mappings:
      Namespace Name Mixin selector
      named EXPLOSION Lnet/minecraft/enchantment/ProtectionEnchantment$Type;EXPLOSION:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;
      intermediary field_9141 Lnet/minecraft/class_1900$class_1901;field_9141:Lnet/minecraft/class_1900$class_1901;
      official d Ldak$a;d:Ldak$a;
    • PROJECTILE

      public static final ProtectionEnchantment.Type PROJECTILE
      Mappings:
      Namespace Name Mixin selector
      named PROJECTILE Lnet/minecraft/enchantment/ProtectionEnchantment$Type;PROJECTILE:Lnet/minecraft/enchantment/ProtectionEnchantment$Type;
      intermediary field_9142 Lnet/minecraft/class_1900$class_1901;field_9142:Lnet/minecraft/class_1900$class_1901;
      official e Ldak$a;e:Ldak$a;
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

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