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 AbstractWidget
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getOffset
(int p_268188_, int p_268026_, int p_268015_) org.joml.Vector2ic
positionTooltip
(Screen p_268014_, int p_268356_, int p_268222_, int p_268194_, int p_268062_)
-
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:
-
widget
-
-
Constructor Details
-
MenuTooltipPositioner
-
-
Method Details
-
positionTooltip
public org.joml.Vector2ic positionTooltip(Screen p_268014_, int p_268356_, int p_268222_, int p_268194_, int p_268062_) - Specified by:
positionTooltip
in interfaceClientTooltipPositioner
-
getOffset
private static int getOffset(int p_268188_, int p_268026_, int p_268015_)
-