Package net.minecraft.entity.passive
Enum IronGolemEntity.Crack
- All Implemented Interfaces:
Serializable
,Comparable<IronGolemEntity.Crack>
,java.lang.constant.Constable
- Enclosing class:
- IronGolemEntity
public static enum IronGolemEntity.Crack extends Enum<IronGolemEntity.Crack>
- Mappings:
Namespace Name official bbt$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
Fields Modifier and Type Field Description private float
maxHealthFraction
private static List<IronGolemEntity.Crack>
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
Crack(float maxHealthFraction)
-
Method Summary
Modifier and Type Method Description static IronGolemEntity.Crack
from(float healthFraction)
static IronGolemEntity.Crack
valueOf(String name)
Returns the enum constant of this type with the specified name.static IronGolemEntity.Crack[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Lbbt$a;a:Lbbt$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
Lbbt$a;b:Lbbt$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
Lbbt$a;c:Lbbt$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
Lbbt$a;d:Lbbt$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
Lbbt$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
Lbbt$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>
Lbbt$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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
- Mappings:
Namespace Name Mixin selector official a
Lbbt$a;a(F)Lbbt$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;
-