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 named net/minecraft/client/gui/tooltip/HoveredTooltipPositioner
intermediary net/minecraft/class_8001
official fpz
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPosition
(int screenWidth, int screenHeight, int x, int y, int width, int height) private void
preventOverflow
(int screenWidth, int screenHeight, Vector2i pos, int width, int height)
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCE
Lnet/minecraft/client/gui/tooltip/HoveredTooltipPositioner;INSTANCE:Lnet/minecraft/client/gui/tooltip/TooltipPositioner;
intermediary field_41687
Lnet/minecraft/class_8001;field_41687:Lnet/minecraft/class_8000;
official a
Lfpz;a:Lfpy;
-
-
Constructor Details
-
HoveredTooltipPositioner
private HoveredTooltipPositioner()
-
-
Method Details
-
getPosition
public Vector2ic getPosition(int screenWidth, int screenHeight, int x, int y, int width, int height) - Specified by:
getPosition
in interfaceTooltipPositioner
- Mappings:
Namespace Name Mixin selector named getPosition
Lnet/minecraft/client/gui/tooltip/TooltipPositioner;getPosition(IIIIII)Lorg/joml/Vector2ic;
intermediary method_47944
Lnet/minecraft/class_8000;method_47944(IIIIII)Lorg/joml/Vector2ic;
official a
Lfpy;a(IIIIII)Lorg/joml/Vector2ic;
-
preventOverflow
private void preventOverflow(int screenWidth, int screenHeight, Vector2i pos, int width, int height) - Mappings:
Namespace Name Mixin selector named preventOverflow
Lnet/minecraft/client/gui/tooltip/HoveredTooltipPositioner;preventOverflow(IILorg/joml/Vector2i;II)V
intermediary method_47945
Lnet/minecraft/class_8001;method_47945(IILorg/joml/Vector2i;II)V
official a
Lfpz;a(IILorg/joml/Vector2i;II)V
-