Package net.minecraft.client.gui.tooltip
Class WidgetTooltipPositioner
java.lang.Object
net.minecraft.client.gui.tooltip.WidgetTooltipPositioner
- All Implemented Interfaces:
TooltipPositioner
@Environment(CLIENT)
public class WidgetTooltipPositioner
extends Object
implements TooltipPositioner
- Mappings:
Namespace Name named net/minecraft/client/gui/tooltip/WidgetTooltipPositioner
intermediary net/minecraft/class_8092
official fwk
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
private static final int
private static final int
private final ScreenRect
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getOffsetY
(int tooltipY, int widgetY, int widgetHeight) getPosition
(int screenWidth, int screenHeight, int x, int y, int width, int height)
-
Field Details
-
field_42159
private static final int field_42159- See Also:
- Mappings:
Namespace Name Mixin selector named field_42159
Lnet/minecraft/client/gui/tooltip/WidgetTooltipPositioner;field_42159:I
intermediary field_42159
Lnet/minecraft/class_8092;field_42159:I
official c
Lfwk;c:I
-
field_42160
private static final int field_42160- See Also:
- Mappings:
Namespace Name Mixin selector named field_42160
Lnet/minecraft/client/gui/tooltip/WidgetTooltipPositioner;field_42160:I
intermediary field_42160
Lnet/minecraft/class_8092;field_42160:I
official d
Lfwk;d:I
-
field_42157
public static final int field_42157- See Also:
- Mappings:
Namespace Name Mixin selector named field_42157
Lnet/minecraft/client/gui/tooltip/WidgetTooltipPositioner;field_42157:I
intermediary field_42157
Lnet/minecraft/class_8092;field_42157:I
official a
Lfwk;a:I
-
field_42158
public static final int field_42158- See Also:
- Mappings:
Namespace Name Mixin selector named field_42158
Lnet/minecraft/client/gui/tooltip/WidgetTooltipPositioner;field_42158:I
intermediary field_42158
Lnet/minecraft/class_8092;field_42158:I
official b
Lfwk;b:I
-
focus
- Mappings:
Namespace Name Mixin selector named focus
Lnet/minecraft/client/gui/tooltip/WidgetTooltipPositioner;focus:Lnet/minecraft/client/gui/ScreenRect;
intermediary field_46723
Lnet/minecraft/class_8092;field_46723:Lnet/minecraft/class_8030;
official e
Lfwk;e:Lfsm;
-
-
Constructor Details
-
WidgetTooltipPositioner
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/tooltip/WidgetTooltipPositioner;<init>(Lnet/minecraft/client/gui/ScreenRect;)V
intermediary <init>
Lnet/minecraft/class_8092;<init>(Lnet/minecraft/class_8030;)V
official <init>
Lfwk;<init>(Lfsm;)V
-
-
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
Lfwi;a(IIIIII)Lorg/joml/Vector2ic;
-
getOffsetY
private static int getOffsetY(int tooltipY, int widgetY, int widgetHeight) - Mappings:
Namespace Name Mixin selector named getOffsetY
Lnet/minecraft/client/gui/tooltip/WidgetTooltipPositioner;getOffsetY(III)I
intermediary method_48642
Lnet/minecraft/class_8092;method_48642(III)I
official a
Lfwk;a(III)I
-