Class MenuTooltipPositioner
java.lang.Object
net.minecraft.client.gui.screens.inventory.tooltip.MenuTooltipPositioner
- All Implemented Interfaces:
ClientTooltipPositioner
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
static final int
static final int
private static final int
private final ScreenRectangle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getOffset
(int p_268188_, int p_268026_, int p_268015_) org.joml.Vector2ic
positionTooltip
(int p_283490_, int p_282509_, int p_282684_, int p_281703_, int p_281348_, int p_283657_)
-
Field Details
-
MARGIN
private static final int MARGIN- See Also:
-
MOUSE_OFFSET_X
private static final int MOUSE_OFFSET_X- See Also:
-
MAX_OVERLAP_WITH_WIDGET
public static final int MAX_OVERLAP_WITH_WIDGET- See Also:
-
MAX_DISTANCE_TO_WIDGET
public static final int MAX_DISTANCE_TO_WIDGET- See Also:
-
screenRectangle
-
-
Constructor Details
-
Method Details
-
positionTooltip
public org.joml.Vector2ic positionTooltip(int p_283490_, int p_282509_, int p_282684_, int p_281703_, int p_281348_, int p_283657_) - Specified by:
positionTooltip
in interfaceClientTooltipPositioner
-
getOffset
private static int getOffset(int p_268188_, int p_268026_, int p_268015_)
-