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 fqa
  • Field Details

    • 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 Lfqa;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 f Lfqa;f: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 Lfqa;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 Lfqa;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 Lfqa;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 Lfqa;e:I
    • BACKGROUND_COLOR

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

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

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

      private static void renderVerticalLine(DrawContext context, int x, int y, int height, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      named renderVerticalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderVerticalLine(Lnet/minecraft/client/gui/DrawContext;IIIII)V
      intermediary method_47949 Lnet/minecraft/class_8002;method_47949(Lnet/minecraft/class_332;IIIII)V
      official b Lfqa;b(Lfgs;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
      named renderVerticalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderVerticalLine(Lnet/minecraft/client/gui/DrawContext;IIIIII)V
      intermediary method_47947 Lnet/minecraft/class_8002;method_47947(Lnet/minecraft/class_332;IIIIII)V
      official a Lfqa;a(Lfgs;IIIIII)V
    • renderHorizontalLine

      private static void renderHorizontalLine(DrawContext context, int x, int y, int width, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      named renderHorizontalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderHorizontalLine(Lnet/minecraft/client/gui/DrawContext;IIIII)V
      intermediary method_47951 Lnet/minecraft/class_8002;method_47951(Lnet/minecraft/class_332;IIIII)V
      official c Lfqa;c(Lfgs;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
      named renderRectangle Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderRectangle(Lnet/minecraft/client/gui/DrawContext;IIIIII)V
      intermediary method_47950 Lnet/minecraft/class_8002;method_47950(Lnet/minecraft/class_332;IIIIII)V
      official b Lfqa;b(Lfgs;IIIIII)V