Class TooltipBackgroundRenderer

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

@Environment(CLIENT) public class TooltipBackgroundRenderer extends Object
A class for rendering a background box for a tooltip.
Mappings:
Namespace Name
named net/minecraft/client/gui/tooltip/TooltipBackgroundRenderer
intermediary net/minecraft/class_8002
official fwl
  • Field Details

    • DEFAULT_BACKGROUND_TEXTURE

      private static final Identifier DEFAULT_BACKGROUND_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_BACKGROUND_TEXTURE Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;DEFAULT_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54151 Lnet/minecraft/class_8002;field_54151:Lnet/minecraft/class_2960;
      official f Lfwl;f:Lalz;
    • DEFAULT_FRAME_TEXTURE

      private static final Identifier DEFAULT_FRAME_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_FRAME_TEXTURE Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;DEFAULT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54152 Lnet/minecraft/class_8002;field_54152:Lnet/minecraft/class_2960;
      official g Lfwl;g:Lalz;
    • field_41688

      public static final int field_41688
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41688 Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;field_41688:I
      intermediary field_41688 Lnet/minecraft/class_8002;field_41688:I
      official a Lfwl;a:I
    • field_41693

      private static final int field_41693
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41693 Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;field_41693:I
      intermediary field_41693 Lnet/minecraft/class_8002;field_41693:I
      official h Lfwl;h:I
    • field_41689

      public static final int field_41689
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41689 Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;field_41689:I
      intermediary field_41689 Lnet/minecraft/class_8002;field_41689:I
      official b Lfwl;b:I
    • field_41690

      public static final int field_41690
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41690 Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;field_41690:I
      intermediary field_41690 Lnet/minecraft/class_8002;field_41690:I
      official c Lfwl;c:I
    • field_41691

      public static final int field_41691
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41691 Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;field_41691:I
      intermediary field_41691 Lnet/minecraft/class_8002;field_41691:I
      official d Lfwl;d:I
    • field_41692

      public static final int field_41692
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41692 Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;field_41692:I
      intermediary field_41692 Lnet/minecraft/class_8002;field_41692:I
      official e Lfwl;e:I
    • field_54153

      private static final int field_54153
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54153 Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;field_54153:I
      intermediary field_54153 Lnet/minecraft/class_8002;field_54153:I
      official i Lfwl;i:I
  • Constructor Details

    • TooltipBackgroundRenderer

      public TooltipBackgroundRenderer()
  • Method Details

    • render

      public static void render(DrawContext context, int x, int y, int width, int height, int z, @Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;render(Lnet/minecraft/client/gui/DrawContext;IIIIILnet/minecraft/util/Identifier;)V
      intermediary method_47946 Lnet/minecraft/class_8002;method_47946(Lnet/minecraft/class_332;IIIIILnet/minecraft/class_2960;)V
      official a Lfwl;a(Lfnr;IIIIILalz;)V
    • getBackgroundTexture

      private static Identifier getBackgroundTexture(@Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named getBackgroundTexture Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;getBackgroundTexture(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
      intermediary method_64049 Lnet/minecraft/class_8002;method_64049(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
      official a Lfwl;a(Lalz;)Lalz;
    • getFrameTexture

      private static Identifier getFrameTexture(@Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named getFrameTexture Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;getFrameTexture(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
      intermediary method_64051 Lnet/minecraft/class_8002;method_64051(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
      official b Lfwl;b(Lalz;)Lalz;