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

    • focus

      private final ScreenRect focus
      Mappings:
      Namespace Name Mixin selector
      official a Lffq;a:Lfbj;
      intermediary field_46722 Lnet/minecraft/class_7999;field_46722:Lnet/minecraft/class_8030;
      named focus Lnet/minecraft/client/gui/tooltip/FocusedTooltipPositioner;focus:Lnet/minecraft/client/gui/ScreenRect;
  • Constructor Details

    • FocusedTooltipPositioner

      public FocusedTooltipPositioner(ScreenRect focus)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lffq;<init>(Lfbj;)V
      intermediary <init> Lnet/minecraft/class_7999;<init>(Lnet/minecraft/class_8030;)V
      named <init> Lnet/minecraft/client/gui/tooltip/FocusedTooltipPositioner;<init>(Lnet/minecraft/client/gui/ScreenRect;)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 Lffu;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;