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
official exl
intermediary net/minecraft/class_8002
named net/minecraft/client/gui/tooltip/TooltipBackgroundRenderer
  • Field Details

    • field_41688

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

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

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

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

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

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

      private static final int BACKGROUND_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lexl;g:I
      intermediary field_41694 Lnet/minecraft/class_8002;field_41694:I
      named BACKGROUND_COLOR Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;BACKGROUND_COLOR:I
    • START_Y_BORDER_COLOR

      private static final int START_Y_BORDER_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lexl;h:I
      intermediary field_41695 Lnet/minecraft/class_8002;field_41695:I
      named START_Y_BORDER_COLOR Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;START_Y_BORDER_COLOR:I
    • END_Y_BORDER_COLOR

      private static final int END_Y_BORDER_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lexl;i:I
      intermediary field_41696 Lnet/minecraft/class_8002;field_41696:I
      named END_Y_BORDER_COLOR Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;END_Y_BORDER_COLOR: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)
      Mappings:
      Namespace Name Mixin selector
      official a Lexl;a(Leox;IIIII)V
      intermediary method_47946 Lnet/minecraft/class_8002;method_47946(Lnet/minecraft/class_332;IIIII)V
      named render Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;render(Lnet/minecraft/client/gui/DrawContext;IIIII)V
    • renderBorder

      private static void renderBorder(DrawContext context, int x, int y, int width, int height, int z, int startColor, int endColor)
      Mappings:
      Namespace Name Mixin selector
      official a Lexl;a(Leox;IIIIIII)V
      intermediary method_47948 Lnet/minecraft/class_8002;method_47948(Lnet/minecraft/class_332;IIIIIII)V
      named renderBorder Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderBorder(Lnet/minecraft/client/gui/DrawContext;IIIIIII)V
    • renderVerticalLine

      private static void renderVerticalLine(DrawContext context, int x, int y, int height, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      official b Lexl;b(Leox;IIIII)V
      intermediary method_47949 Lnet/minecraft/class_8002;method_47949(Lnet/minecraft/class_332;IIIII)V
      named renderVerticalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderVerticalLine(Lnet/minecraft/client/gui/DrawContext;IIIII)V
    • renderVerticalLine

      private static void renderVerticalLine(DrawContext context, int x, int y, int height, int z, int startColor, int endColor)
      Mappings:
      Namespace Name Mixin selector
      official a Lexl;a(Leox;IIIIII)V
      intermediary method_47947 Lnet/minecraft/class_8002;method_47947(Lnet/minecraft/class_332;IIIIII)V
      named renderVerticalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderVerticalLine(Lnet/minecraft/client/gui/DrawContext;IIIIII)V
    • renderHorizontalLine

      private static void renderHorizontalLine(DrawContext context, int x, int y, int width, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      official c Lexl;c(Leox;IIIII)V
      intermediary method_47951 Lnet/minecraft/class_8002;method_47951(Lnet/minecraft/class_332;IIIII)V
      named renderHorizontalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderHorizontalLine(Lnet/minecraft/client/gui/DrawContext;IIIII)V
    • renderRectangle

      private static void renderRectangle(DrawContext context, int x, int y, int width, int height, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      official b Lexl;b(Leox;IIIIII)V
      intermediary method_47950 Lnet/minecraft/class_8002;method_47950(Lnet/minecraft/class_332;IIIIII)V
      named renderRectangle Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderRectangle(Lnet/minecraft/client/gui/DrawContext;IIIIII)V