Package net.minecraft.client.gui.tooltip
Class HoveredTooltipPositioner
java.lang.Object
net.minecraft.client.gui.tooltip.HoveredTooltipPositioner
- All Implemented Interfaces:
TooltipPositioner
@Environment(CLIENT)
public class HoveredTooltipPositioner
extends Object
implements TooltipPositioner
- Mappings:
Namespace Name official evw
intermediary net/minecraft/class_8001
named net/minecraft/client/gui/tooltip/HoveredTooltipPositioner
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPosition
(Screen screen, int x, int y, int width, int height) private void
preventOverflow
(Screen screen, Vector2i pos, int width, int height)
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official a
Levw;a:Levv;
intermediary field_41687
Lnet/minecraft/class_8001;field_41687:Lnet/minecraft/class_8000;
named INSTANCE
Lnet/minecraft/client/gui/tooltip/HoveredTooltipPositioner;INSTANCE:Lnet/minecraft/client/gui/tooltip/TooltipPositioner;
-
-
Constructor Details
-
HoveredTooltipPositioner
private HoveredTooltipPositioner()
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfaceTooltipPositioner
- Mappings:
Namespace Name Mixin selector official a
Levv;a(Letd;IIII)Lorg/joml/Vector2ic;
intermediary method_47944
Lnet/minecraft/class_8000;method_47944(Lnet/minecraft/class_437;IIII)Lorg/joml/Vector2ic;
named getPosition
Lnet/minecraft/client/gui/tooltip/TooltipPositioner;getPosition(Lnet/minecraft/client/gui/screen/Screen;IIII)Lorg/joml/Vector2ic;
-
preventOverflow
- Mappings:
Namespace Name Mixin selector official a
Levw;a(Letd;Lorg/joml/Vector2i;II)V
intermediary method_47945
Lnet/minecraft/class_8001;method_47945(Lnet/minecraft/class_437;Lorg/joml/Vector2i;II)V
named preventOverflow
Lnet/minecraft/client/gui/tooltip/HoveredTooltipPositioner;preventOverflow(Lnet/minecraft/client/gui/screen/Screen;Lorg/joml/Vector2i;II)V
-