net.minecraft.client.gui.screens.inventory.tooltip

public class MenuTooltipPositioner

implements ClientTooltipPositioner

fwl
net.minecraft.client.gui.screens.inventory.tooltip.MenuTooltipPositioner
net.minecraft.class_8092
net.minecraft.client.gui.tooltip.WidgetTooltipPositioner

Field summary

Modifier and TypeField
private static final int
c
MARGIN
field_42159
field_42159
private static final int
d
MOUSE_OFFSET_X
field_42160
field_42160
public static final int
a
MAX_OVERLAP_WITH_WIDGET
field_42157
field_42157
public static final int
b
MAX_DISTANCE_TO_WIDGET
field_42158
field_42158
private final ScreenRectangle
e
screenRectangle
field_46723
focus

Constructor summary

ModifierConstructor
public (ScreenRectangle focus)

Method summary

Modifier and TypeMethod
public org.joml.Vector2ic
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
positionTooltip(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_47944(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
getPosition(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
private static int
a(int arg0, int arg1, int arg2)
getOffset(int arg0, int arg1, int arg2)
method_48642(int arg0, int arg1, int arg2)
getOffsetY(int tooltipY, int widgetY, int widgetHeight)