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_300867_, ResourceLocation p_300697_, ResourceLocation p_297618_, ResourceLocation p_298356_, ResourceLocation p_300264_, ResourceLocation p_299924_, ResourceLocation p_297755_, ResourceLocation p_298658_) 
- 
Method SummaryModifier and TypeMethodDescription(package private) static Gui.HeartTypegetSprite(boolean p_297692_, boolean p_299675_, boolean p_299889_) 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_300867_, ResourceLocation p_300697_, ResourceLocation p_297618_, ResourceLocation p_298356_, ResourceLocation p_300264_, ResourceLocation p_299924_, ResourceLocation p_297755_, ResourceLocation p_298658_) 
 
- 
- 
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
 
-