Uses of Enum Class
net.minecraft.client.gui.Gui.HeartType
Packages that use Gui.HeartType
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Gui.HeartType in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return Gui.HeartTypeModifier and TypeMethodDescription(package private) static Gui.HeartType
static Gui.HeartType
Returns the enum constant of this class with the specified name.static Gui.HeartType[]
Gui.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 Gui.HeartTypeModifier and TypeMethodDescriptionprivate void
Gui.renderHeart
(GuiGraphics p_283024_, Gui.HeartType p_281393_, int p_283636_, int p_283279_, boolean p_283440_, boolean p_282496_, boolean p_294129_) -
Uses of Gui.HeartType in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return Gui.HeartTypeModifier and TypeMethodDescriptionstatic Gui.HeartType
ClientHooks.firePlayerHeartTypeEvent
(Player player, Gui.HeartType heartType) Called byforPlayer(net.minecraft.world.entity.player.Player)
to allow for modification of the displayed heart type in the health bar.Methods in net.neoforged.neoforge.client with parameters of type Gui.HeartTypeModifier and TypeMethodDescriptionstatic Gui.HeartType
ClientHooks.firePlayerHeartTypeEvent
(Player player, Gui.HeartType heartType) Called byforPlayer(net.minecraft.world.entity.player.Player)
to allow for modification of the displayed heart type in the health bar. -
Uses of Gui.HeartType in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as Gui.HeartTypeModifier and TypeFieldDescriptionprivate final Gui.HeartType
PlayerHeartTypeEvent.originalType
private Gui.HeartType
PlayerHeartTypeEvent.type
Methods in net.neoforged.neoforge.client.event that return Gui.HeartTypeModifier and TypeMethodDescriptionPlayerHeartTypeEvent.getOriginalType()
PlayerHeartTypeEvent.getType()
Methods in net.neoforged.neoforge.client.event with parameters of type Gui.HeartTypeModifier and TypeMethodDescriptionvoid
PlayerHeartTypeEvent.setType
(Gui.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 Gui.HeartType