Uses of Enum Class
net.minecraft.client.gui.Gui.HeartType
Packages that use Gui.HeartType
Package
Description
-
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.event
Methods in net.neoforged.neoforge.event that return Gui.HeartTypeModifier and TypeMethodDescriptionstatic Gui.HeartType
EventHooks.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.event with parameters of type Gui.HeartTypeModifier and TypeMethodDescriptionstatic Gui.HeartType
EventHooks.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.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as Gui.HeartTypeModifier and TypeFieldDescriptionprivate final Gui.HeartType
PlayerHeartTypeEvent.originalType
private Gui.HeartType
PlayerHeartTypeEvent.type
Methods in net.neoforged.neoforge.event.entity.player that return Gui.HeartTypeModifier and TypeMethodDescriptionPlayerHeartTypeEvent.getOriginalType()
PlayerHeartTypeEvent.getType()
Methods in net.neoforged.neoforge.event.entity.player 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.event.entity.player with parameters of type Gui.HeartType