Package net.minecraft.entity.passive
Enum Class IronGolemEntity.Crack
- All Implemented Interfaces:
Serializable
,Comparable<IronGolemEntity.Crack>
,Constable
- Enclosing class:
IronGolemEntity
- Mappings:
Namespace Name official bin$a
intermediary net/minecraft/class_1439$class_4621
named net/minecraft/entity/passive/IronGolemEntity$Crack
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private static final List<IronGolemEntity.Crack>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IronGolemEntity.Crack
from
(float healthFraction) static IronGolemEntity.Crack
Returns the enum constant of this class with the specified name.static IronGolemEntity.Crack[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
- 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
- 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
- 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
- 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
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
-
from
- 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;
-