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
Subclasses with type arguments of type Gui.HeartType in net.minecraft.client.guiMethods in net.minecraft.client.gui that return Gui.HeartTypeModifier and TypeMethodDescriptionprivate static Gui.HeartTypeReturns theGui.HeartTypebased on the player's status effects.static Gui.HeartTypeReturns 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 voidGui.renderHeart(GuiGraphics graphics, Gui.HeartType type, int xo, int yo, boolean isHardcore, boolean blinks, boolean half) -
Uses of Gui.HeartType in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return Gui.HeartTypeModifier and TypeMethodDescriptionstatic Gui.HeartTypeClientHooks.firePlayerHeartTypeEvent(Player player, Gui.HeartType heartType) Called byGui.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 Gui.HeartTypeModifier and TypeMethodDescriptionstatic Gui.HeartTypeClientHooks.firePlayerHeartTypeEvent(Player player, Gui.HeartType heartType) Called byGui.HeartType.forPlayer(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.HeartTypePlayerHeartTypeEvent.originalTypeprivate Gui.HeartTypePlayerHeartTypeEvent.typeMethods 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 TypeMethodDescriptionvoidPlayerHeartTypeEvent.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