Package net.minecraft.client.gui.hud
Enum Class InGameHud.HeartType
- All Implemented Interfaces:
Serializable,Comparable<InGameHud.HeartType>,Constable
- Enclosing class:
InGameHud
- Mappings:
Namespace Name official ews$bintermediary net/minecraft/class_329$class_6411named net/minecraft/client/gui/hud/InGameHud$HeartType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Identifierprivate final Identifierprivate final Identifierprivate final Identifierprivate final Identifierprivate final Identifierprivate final Identifierprivate final Identifier -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateHeartType(Identifier fullTexture, Identifier fullBlinkingTexture, Identifier halfTexture, Identifier halfBlinkingTexture, Identifier hardcoreFullTexture, Identifier hardcoreFullBlinkingTexture, Identifier hardcoreHalfTexture, Identifier hardcoreHalfBlinkingTexture) -
Method Summary
Modifier and TypeMethodDescription(package private) static InGameHud.HeartTypefromPlayerState(PlayerEntity player) getTexture(boolean hardcore, boolean half, boolean blinking) static InGameHud.HeartTypeReturns the enum constant of this class with the specified name.static InGameHud.HeartType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTAINER
- Mappings:
Namespace Name Mixin selector official aLews$b;a:Lews$b;intermediary field_33944Lnet/minecraft/class_329$class_6411;field_33944:Lnet/minecraft/class_329$class_6411;named CONTAINERLnet/minecraft/client/gui/hud/InGameHud$HeartType;CONTAINER:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
-
NORMAL
- Mappings:
Namespace Name Mixin selector official bLews$b;b:Lews$b;intermediary field_33945Lnet/minecraft/class_329$class_6411;field_33945:Lnet/minecraft/class_329$class_6411;named NORMALLnet/minecraft/client/gui/hud/InGameHud$HeartType;NORMAL:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
-
POISONED
- Mappings:
Namespace Name Mixin selector official cLews$b;c:Lews$b;intermediary field_33946Lnet/minecraft/class_329$class_6411;field_33946:Lnet/minecraft/class_329$class_6411;named POISONEDLnet/minecraft/client/gui/hud/InGameHud$HeartType;POISONED:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
-
WITHERED
- Mappings:
Namespace Name Mixin selector official dLews$b;d:Lews$b;intermediary field_33947Lnet/minecraft/class_329$class_6411;field_33947:Lnet/minecraft/class_329$class_6411;named WITHEREDLnet/minecraft/client/gui/hud/InGameHud$HeartType;WITHERED:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
-
ABSORBING
- Mappings:
Namespace Name Mixin selector official eLews$b;e:Lews$b;intermediary field_33948Lnet/minecraft/class_329$class_6411;field_33948:Lnet/minecraft/class_329$class_6411;named ABSORBINGLnet/minecraft/client/gui/hud/InGameHud$HeartType;ABSORBING:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
-
FROZEN
- Mappings:
Namespace Name Mixin selector official fLews$b;f:Lews$b;intermediary field_33949Lnet/minecraft/class_329$class_6411;field_33949:Lnet/minecraft/class_329$class_6411;named FROZENLnet/minecraft/client/gui/hud/InGameHud$HeartType;FROZEN:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
-
-
Field Details
-
fullTexture
- Mappings:
Namespace Name Mixin selector official gLews$b;g:Lahg;intermediary field_45329Lnet/minecraft/class_329$class_6411;field_45329:Lnet/minecraft/class_2960;named fullTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;fullTexture:Lnet/minecraft/util/Identifier;
-
fullBlinkingTexture
- Mappings:
Namespace Name Mixin selector official hLews$b;h:Lahg;intermediary field_45330Lnet/minecraft/class_329$class_6411;field_45330:Lnet/minecraft/class_2960;named fullBlinkingTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;fullBlinkingTexture:Lnet/minecraft/util/Identifier;
-
halfTexture
- Mappings:
Namespace Name Mixin selector official iLews$b;i:Lahg;intermediary field_45331Lnet/minecraft/class_329$class_6411;field_45331:Lnet/minecraft/class_2960;named halfTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;halfTexture:Lnet/minecraft/util/Identifier;
-
halfBlinkingTexture
- Mappings:
Namespace Name Mixin selector official jLews$b;j:Lahg;intermediary field_45332Lnet/minecraft/class_329$class_6411;field_45332:Lnet/minecraft/class_2960;named halfBlinkingTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;halfBlinkingTexture:Lnet/minecraft/util/Identifier;
-
hardcoreFullTexture
- Mappings:
Namespace Name Mixin selector official kLews$b;k:Lahg;intermediary field_45333Lnet/minecraft/class_329$class_6411;field_45333:Lnet/minecraft/class_2960;named hardcoreFullTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreFullTexture:Lnet/minecraft/util/Identifier;
-
hardcoreFullBlinkingTexture
- Mappings:
Namespace Name Mixin selector official lLews$b;l:Lahg;intermediary field_45334Lnet/minecraft/class_329$class_6411;field_45334:Lnet/minecraft/class_2960;named hardcoreFullBlinkingTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreFullBlinkingTexture:Lnet/minecraft/util/Identifier;
-
hardcoreHalfTexture
- Mappings:
Namespace Name Mixin selector official mLews$b;m:Lahg;intermediary field_45335Lnet/minecraft/class_329$class_6411;field_45335:Lnet/minecraft/class_2960;named hardcoreHalfTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreHalfTexture:Lnet/minecraft/util/Identifier;
-
hardcoreHalfBlinkingTexture
- Mappings:
Namespace Name Mixin selector official nLews$b;n:Lahg;intermediary field_45336Lnet/minecraft/class_329$class_6411;field_45336:Lnet/minecraft/class_2960;named hardcoreHalfBlinkingTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreHalfBlinkingTexture:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
HeartType
private HeartType(Identifier fullTexture, Identifier fullBlinkingTexture, Identifier halfTexture, Identifier halfBlinkingTexture, Identifier hardcoreFullTexture, Identifier hardcoreFullBlinkingTexture, Identifier hardcoreHalfTexture, Identifier hardcoreHalfBlinkingTexture) - Mappings:
Namespace Name Mixin selector official <init>Lews$b;<init>(Ljava/lang/String;ILahg;Lahg;Lahg;Lahg;Lahg;Lahg;Lahg;Lahg;)Vintermediary <init>Lnet/minecraft/class_329$class_6411;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)Vnamed <init>Lnet/minecraft/client/gui/hud/InGameHud$HeartType;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)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
-
getTexture
- Mappings:
Namespace Name Mixin selector official aLews$b;a(ZZZ)Lahg;intermediary method_52705Lnet/minecraft/class_329$class_6411;method_52705(ZZZ)Lnet/minecraft/class_2960;named getTextureLnet/minecraft/client/gui/hud/InGameHud$HeartType;getTexture(ZZZ)Lnet/minecraft/util/Identifier;
-
fromPlayerState
- Mappings:
Namespace Name Mixin selector official aLews$b;a(Lcfh;)Lews$b;intermediary method_37301Lnet/minecraft/class_329$class_6411;method_37301(Lnet/minecraft/class_1657;)Lnet/minecraft/class_329$class_6411;named fromPlayerStateLnet/minecraft/client/gui/hud/InGameHud$HeartType;fromPlayerState(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
-