Class TooltipState

java.lang.Object
net.minecraft.client.gui.tooltip.TooltipState

@Environment(CLIENT) public class TooltipState extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/tooltip/TooltipState
intermediary net/minecraft/class_9110
official fpt
  • Field Details

    • tooltip

      @Nullable private @Nullable Tooltip tooltip
      Mappings:
      Namespace Name Mixin selector
      named tooltip Lnet/minecraft/client/gui/tooltip/TooltipState;tooltip:Lnet/minecraft/client/gui/tooltip/Tooltip;
      intermediary field_48390 Lnet/minecraft/class_9110;field_48390:Lnet/minecraft/class_7919;
      official a Lfpt;a:Lfpq;
    • delay

      private Duration delay
      Mappings:
      Namespace Name Mixin selector
      named delay Lnet/minecraft/client/gui/tooltip/TooltipState;delay:Ljava/time/Duration;
      intermediary field_48391 Lnet/minecraft/class_9110;field_48391:Ljava/time/Duration;
      official b Lfpt;b:Ljava/time/Duration;
    • renderCheckTime

      private long renderCheckTime
      Mappings:
      Namespace Name Mixin selector
      named renderCheckTime Lnet/minecraft/client/gui/tooltip/TooltipState;renderCheckTime:J
      intermediary field_48392 Lnet/minecraft/class_9110;field_48392:J
      official c Lfpt;c:J
    • prevShouldRender

      private boolean prevShouldRender
      Mappings:
      Namespace Name Mixin selector
      named prevShouldRender Lnet/minecraft/client/gui/tooltip/TooltipState;prevShouldRender:Z
      intermediary field_48393 Lnet/minecraft/class_9110;field_48393:Z
      official d Lfpt;d:Z
  • Constructor Details

    • TooltipState

      public TooltipState()
  • Method Details

    • setDelay

      public void setDelay(Duration delay)
      Mappings:
      Namespace Name Mixin selector
      named setDelay Lnet/minecraft/client/gui/tooltip/TooltipState;setDelay(Ljava/time/Duration;)V
      intermediary method_56141 Lnet/minecraft/class_9110;method_56141(Ljava/time/Duration;)V
      official a Lfpt;a(Ljava/time/Duration;)V
    • setTooltip

      public void setTooltip(@Nullable @Nullable Tooltip tooltip)
      Mappings:
      Namespace Name Mixin selector
      named setTooltip Lnet/minecraft/client/gui/tooltip/TooltipState;setTooltip(Lnet/minecraft/client/gui/tooltip/Tooltip;)V
      intermediary method_56138 Lnet/minecraft/class_9110;method_56138(Lnet/minecraft/class_7919;)V
      official a Lfpt;a(Lfpq;)V
    • getTooltip

      @Nullable public @Nullable Tooltip getTooltip()
      Mappings:
      Namespace Name Mixin selector
      named getTooltip Lnet/minecraft/client/gui/tooltip/TooltipState;getTooltip()Lnet/minecraft/client/gui/tooltip/Tooltip;
      intermediary method_56137 Lnet/minecraft/class_9110;method_56137()Lnet/minecraft/class_7919;
      official a Lfpt;a()Lfpq;
    • render

      public void render(boolean hovered, boolean focused, ScreenRect focus)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/tooltip/TooltipState;render(ZZLnet/minecraft/client/gui/ScreenRect;)V
      intermediary method_56142 Lnet/minecraft/class_9110;method_56142(ZZLnet/minecraft/class_8030;)V
      official a Lfpt;a(ZZLfsm;)V
    • createPositioner

      private TooltipPositioner createPositioner(ScreenRect focus, boolean hovered, boolean focused)
      Mappings:
      Namespace Name Mixin selector
      named createPositioner Lnet/minecraft/client/gui/tooltip/TooltipState;createPositioner(Lnet/minecraft/client/gui/ScreenRect;ZZ)Lnet/minecraft/client/gui/tooltip/TooltipPositioner;
      intermediary method_56140 Lnet/minecraft/class_9110;method_56140(Lnet/minecraft/class_8030;ZZ)Lnet/minecraft/class_8000;
      official a Lfpt;a(Lfsm;ZZ)Lfwi;
    • appendNarrations

      public void appendNarrations(NarrationMessageBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      named appendNarrations Lnet/minecraft/client/gui/tooltip/TooltipState;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
      intermediary method_56139 Lnet/minecraft/class_9110;method_56139(Lnet/minecraft/class_6382;)V
      official a Lfpt;a(Lfsc;)V