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 ewn
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 Lewn;a:Leor;
      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> Lewn;<init>(Leor;)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 Lewr;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;