Uses of Interface
net.minecraft.client.gui.tooltip.TooltipPositioner
Package
Description
-
Uses of TooltipPositioner in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate void
DrawContext.drawTooltip
(TextRenderer textRenderer, List<TooltipComponent> components, int x, int y, TooltipPositioner positioner) void
DrawContext.drawTooltip
(TextRenderer textRenderer, List<OrderedText> text, TooltipPositioner positioner, int x, int y) -
Uses of TooltipPositioner in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprivate final TooltipPositioner
Screen.PositionedTooltip.positioner
The field for thepositioner
record component.Modifier and TypeMethodDescriptionScreen.PositionedTooltip.positioner()
Returns the value of thepositioner
record component.Modifier and TypeMethodDescriptionvoid
Screen.setTooltip
(List<OrderedText> tooltip, TooltipPositioner positioner, boolean focused) void
Screen.setTooltip
(Tooltip tooltip, TooltipPositioner positioner, boolean focused) ModifierConstructorDescription(package private)
PositionedTooltip
(List<OrderedText> list, TooltipPositioner tooltipPositioner) -
Uses of TooltipPositioner in net.minecraft.client.gui.tooltip
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionstatic final TooltipPositioner
HoveredTooltipPositioner.INSTANCE
Modifier and TypeMethodDescriptionprivate TooltipPositioner
TooltipState.createPositioner
(ScreenRect focus, boolean hovered, boolean focused)