Enum Class IronGolemEntity.Crack

java.lang.Object
java.lang.Enum<IronGolemEntity.Crack>
net.minecraft.entity.passive.IronGolemEntity.Crack
All Implemented Interfaces:
Serializable, Comparable<IronGolemEntity.Crack>, Constable
Enclosing class:
IronGolemEntity

public static enum IronGolemEntity.Crack extends Enum<IronGolemEntity.Crack>
Mappings:
Namespace Name
official bin$a
intermediary net/minecraft/class_1439$class_4621
named net/minecraft/entity/passive/IronGolemEntity$Crack
  • Enum Constant Details

    • NONE

      public static final IronGolemEntity.Crack NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lbin$a;a:Lbin$a;
      intermediary field_21081 Lnet/minecraft/class_1439$class_4621;field_21081:Lnet/minecraft/class_1439$class_4621;
      named NONE Lnet/minecraft/entity/passive/IronGolemEntity$Crack;NONE:Lnet/minecraft/entity/passive/IronGolemEntity$Crack;
    • LOW

      public static final IronGolemEntity.Crack LOW
      Mappings:
      Namespace Name Mixin selector
      official b Lbin$a;b:Lbin$a;
      intermediary field_21082 Lnet/minecraft/class_1439$class_4621;field_21082:Lnet/minecraft/class_1439$class_4621;
      named LOW Lnet/minecraft/entity/passive/IronGolemEntity$Crack;LOW:Lnet/minecraft/entity/passive/IronGolemEntity$Crack;
    • MEDIUM

      public static final IronGolemEntity.Crack MEDIUM
      Mappings:
      Namespace Name Mixin selector
      official c Lbin$a;c:Lbin$a;
      intermediary field_21083 Lnet/minecraft/class_1439$class_4621;field_21083:Lnet/minecraft/class_1439$class_4621;
      named MEDIUM Lnet/minecraft/entity/passive/IronGolemEntity$Crack;MEDIUM:Lnet/minecraft/entity/passive/IronGolemEntity$Crack;
    • HIGH

      public static final IronGolemEntity.Crack HIGH
      Mappings:
      Namespace Name Mixin selector
      official d Lbin$a;d:Lbin$a;
      intermediary field_21084 Lnet/minecraft/class_1439$class_4621;field_21084:Lnet/minecraft/class_1439$class_4621;
      named HIGH Lnet/minecraft/entity/passive/IronGolemEntity$Crack;HIGH:Lnet/minecraft/entity/passive/IronGolemEntity$Crack;
  • Field Details

    • VALUES

      private static final List<IronGolemEntity.Crack> VALUES
      Mappings:
      Namespace Name Mixin selector
      official e Lbin$a;e:Ljava/util/List;
      intermediary field_21491 Lnet/minecraft/class_1439$class_4621;field_21491:Ljava/util/List;
      named VALUES Lnet/minecraft/entity/passive/IronGolemEntity$Crack;VALUES:Ljava/util/List;
    • maxHealthFraction

      private final float maxHealthFraction
      Mappings:
      Namespace Name Mixin selector
      official f Lbin$a;f:F
      intermediary field_21492 Lnet/minecraft/class_1439$class_4621;field_21492:F
      named maxHealthFraction Lnet/minecraft/entity/passive/IronGolemEntity$Crack;maxHealthFraction:F
  • Constructor Details

    • Crack

      private Crack(float maxHealthFraction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbin$a;<init>(Ljava/lang/String;IF)V
      intermediary <init> Lnet/minecraft/class_1439$class_4621;<init>(Ljava/lang/String;IF)V
      named <init> Lnet/minecraft/entity/passive/IronGolemEntity$Crack;<init>(Ljava/lang/String;IF)V
  • Method Details

    • values

      public static IronGolemEntity.Crack[] 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 IronGolemEntity.Crack 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
    • from

      public static IronGolemEntity.Crack from(float healthFraction)
      Mappings:
      Namespace Name Mixin selector
      official a Lbin$a;a(F)Lbin$a;
      intermediary method_23693 Lnet/minecraft/class_1439$class_4621;method_23693(F)Lnet/minecraft/class_1439$class_4621;
      named from Lnet/minecraft/entity/passive/IronGolemEntity$Crack;from(F)Lnet/minecraft/entity/passive/IronGolemEntity$Crack;