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

public class MenuTooltipPositioner

implements ClientTooltipPositioner

exk
net.minecraft.client.gui.screens.inventory.tooltip.MenuTooltipPositioner
net.minecraft.class_8092
net.minecraft.client.gui.tooltip.WidgetTooltipPositioner
net.minecraft.src.C_267341_

Field summary

Modifier and TypeField
private static final int
c
MARGIN
field_42159
field_42159
f_267383_
private static final int
d
MOUSE_OFFSET_X
field_42160
field_42160
f_267390_
public static final int
a
MAX_OVERLAP_WITH_WIDGET
field_42157
field_42157
f_267404_
public static final int
b
MAX_DISTANCE_TO_WIDGET
field_42158
field_42158
f_267414_
private final AbstractWidget
e
widget
field_42161
widget
f_267435_

Constructor summary

ModifierConstructor
public (AbstractWidget widget)

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)
m_262814_(int p_282509_, int p_282684_, int p_281703_, int p_281348_, int p_283657_, 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)
m_267810_(int p_268188_, int p_268026_, int p_268015_)