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
official exe
intermediary net/minecraft/class_7999
named net/minecraft/client/gui/tooltip/FocusedTooltipPositioner
  • Field Details

    • widget

      private final ClickableWidget widget
      Mappings:
      Namespace Name Mixin selector
      official a Lexe;a:Lepf;
      intermediary field_41686 Lnet/minecraft/class_7999;field_41686:Lnet/minecraft/class_339;
      named widget Lnet/minecraft/client/gui/tooltip/FocusedTooltipPositioner;widget:Lnet/minecraft/client/gui/widget/ClickableWidget;
  • Constructor Details

    • FocusedTooltipPositioner

      public FocusedTooltipPositioner(ClickableWidget widget)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexe;<init>(Lepf;)V
      intermediary <init> Lnet/minecraft/class_7999;<init>(Lnet/minecraft/class_339;)V
      named <init> Lnet/minecraft/client/gui/tooltip/FocusedTooltipPositioner;<init>(Lnet/minecraft/client/gui/widget/ClickableWidget;)V
  • Method Details

    • getPosition

      public Vector2ic getPosition(int screenWidth, int screenHeight, int x, int y, int width, int height)
      Specified by:
      getPosition in interface TooltipPositioner
      Mappings:
      Namespace Name Mixin selector
      official a Lexi;a(IIIIII)Lorg/joml/Vector2ic;
      intermediary method_47944 Lnet/minecraft/class_8000;method_47944(IIIIII)Lorg/joml/Vector2ic;
      named getPosition Lnet/minecraft/client/gui/tooltip/TooltipPositioner;getPosition(IIIIII)Lorg/joml/Vector2ic;