Package net.minecraft.client.gui.tooltip
Class FocusedTooltipPositioner
java.lang.Object
net.minecraft.client.gui.tooltip.FocusedTooltipPositioner
- All Implemented Interfaces:
TooltipPositioner
@Environment(CLIENT)
public class FocusedTooltipPositioner
extends Object
implements TooltipPositioner
- Mappings:
Namespace Name named net/minecraft/client/gui/tooltip/FocusedTooltipPositioner
intermediary net/minecraft/class_7999
official fpt
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPosition
(int screenWidth, int screenHeight, int x, int y, int width, int height)
-
Field Details
-
focus
- Mappings:
Namespace Name Mixin selector named focus
Lnet/minecraft/client/gui/tooltip/FocusedTooltipPositioner;focus:Lnet/minecraft/client/gui/ScreenRect;
intermediary field_46722
Lnet/minecraft/class_7999;field_46722:Lnet/minecraft/class_8030;
official a
Lfpt;a:Lfll;
-
-
Constructor Details
-
FocusedTooltipPositioner
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/tooltip/FocusedTooltipPositioner;<init>(Lnet/minecraft/client/gui/ScreenRect;)V
intermediary <init>
Lnet/minecraft/class_7999;<init>(Lnet/minecraft/class_8030;)V
official <init>
Lfpt;<init>(Lfll;)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
Lfpx;a(IIIIII)Lorg/joml/Vector2ic;
-