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 esx$aintermediary 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 aLesx$a;a:Lesx$a;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 bLesx$a;b:Lesx$a;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 cLesx$a;c:Lesx$a;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 dLesx$a;d:Lesx$a;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 eLesx$a;e:Lesx$a;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 fLesx$a;f:Lesx$a;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 gLesx$a;g:Lafw;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 hLesx$a;h:Lafw;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 iLesx$a;i:Lafw;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 jLesx$a;j:Lafw;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 kLesx$a;k:Lafw;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 lLesx$a;l:Lafw;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 mLesx$a;m:Lafw;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 nLesx$a;n:Lafw;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>Lesx$a;<init>(Ljava/lang/String;ILafw;Lafw;Lafw;Lafw;Lafw;Lafw;Lafw;Lafw;)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 aLesx$a;a(ZZZ)Lafw;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 aLesx$a;a(Lccx;)Lesx$a;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;
-