Uses of Enum Class
net.minecraft.client.gui.Hud.HeartType
Packages that use Hud.HeartType
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Hud.HeartType in net.minecraft.client.gui
Subclasses with type arguments of type Hud.HeartType in net.minecraft.client.guiMethods in net.minecraft.client.gui that return Hud.HeartTypeModifier and TypeMethodDescriptionprivate static Hud.HeartTypestatic Hud.HeartTypeReturns the enum constant of this class with the specified name.static Hud.HeartType[]Hud.HeartType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.client.gui with parameters of type Hud.HeartTypeModifier and TypeMethodDescriptionprivate voidHud.extractHeart(GuiGraphicsExtractor graphics, Hud.HeartType type, int xo, int yo, boolean isHardcore, boolean blinks, boolean half) -
Uses of Hud.HeartType in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return Hud.HeartTypeModifier and TypeMethodDescriptionstatic Hud.HeartTypeClientHooks.firePlayerHeartTypeEvent(Player player, Hud.HeartType heartType) Called byHud.HeartType.forPlayer(Player)to allow for modification of the displayed heart type in the health bar.Methods in net.neoforged.neoforge.client with parameters of type Hud.HeartTypeModifier and TypeMethodDescriptionstatic Hud.HeartTypeClientHooks.firePlayerHeartTypeEvent(Player player, Hud.HeartType heartType) Called byHud.HeartType.forPlayer(Player)to allow for modification of the displayed heart type in the health bar. -
Uses of Hud.HeartType in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as Hud.HeartTypeModifier and TypeFieldDescriptionprivate final Hud.HeartTypePlayerHeartTypeEvent.originalTypeprivate Hud.HeartTypePlayerHeartTypeEvent.typeMethods in net.neoforged.neoforge.client.event that return Hud.HeartTypeModifier and TypeMethodDescriptionPlayerHeartTypeEvent.getOriginalType()PlayerHeartTypeEvent.getType()Methods in net.neoforged.neoforge.client.event with parameters of type Hud.HeartTypeModifier and TypeMethodDescriptionvoidPlayerHeartTypeEvent.setType(Hud.HeartType type) Set the heart sprite which will be displayed on thePlayer's health bar.Constructors in net.neoforged.neoforge.client.event with parameters of type Hud.HeartType