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.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 pGuiGraphics, Gui.HeartType pHeartType, int pX, int pY, boolean pHardcore, boolean pHalfHeart, boolean pBlinking) -
Uses of Gui.HeartType in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event that return Gui.HeartTypeModifier and TypeMethodDescriptionstatic Gui.HeartTypeEventHooks.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.HeartTypeEventHooks.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.HeartTypePlayerHeartTypeEvent.originalTypeprivate Gui.HeartTypePlayerHeartTypeEvent.typeMethods 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 TypeMethodDescriptionvoidPlayerHeartTypeEvent.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