Package net.minecraft.client.gui
Enum Class Gui.HeartType
- All Implemented Interfaces:
- Serializable,- Comparable<Gui.HeartType>,- Constable
- Enclosing class:
- Gui
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final ResourceLocationprivate final ResourceLocationprivate final ResourceLocationprivate final ResourceLocationprivate final ResourceLocationprivate final ResourceLocationprivate final ResourceLocation
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateHeartType(ResourceLocation p_294435_, ResourceLocation p_294438_, ResourceLocation p_295036_, ResourceLocation p_295439_, ResourceLocation p_296249_, ResourceLocation p_295479_, ResourceLocation p_296219_, ResourceLocation p_296437_) 
- 
Method SummaryModifier and TypeMethodDescription(package private) static Gui.HeartTypegetSprite(boolean p_295909_, boolean p_295387_, boolean p_294486_) static Gui.HeartTypeReturns the enum constant of this class with the specified name.static Gui.HeartType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
CONTAINER
- 
NORMAL
- 
POISIONED
- 
WITHERED
- 
ABSORBING
- 
FROZEN
 
- 
- 
Field Details- 
full
- 
fullBlinking
- 
half
- 
halfBlinking
- 
hardcoreFull
- 
hardcoreFullBlinking
- 
hardcoreHalf
- 
hardcoreHalfBlinking
 
- 
- 
Constructor Details- 
HeartTypeprivate HeartType(ResourceLocation p_294435_, ResourceLocation p_294438_, ResourceLocation p_295036_, ResourceLocation p_295439_, ResourceLocation p_296249_, ResourceLocation p_295479_, ResourceLocation p_296219_, ResourceLocation p_296437_) 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
getSprite
- 
forPlayer
 
-