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 evy
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 Levy;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 Levy;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 Levy;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 Levy;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 Levy;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 Levy;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 Levy;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 Levy;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 Levy;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(TooltipBackgroundRenderer.RectangleRenderer renderer, Matrix4f matrix, BufferBuilder buffer, int x, int y, int width, int height, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Levy;a(Levy$a;Lorg/joml/Matrix4f;Legz;IIIII)V
      intermediary method_47946 Lnet/minecraft/class_8002;method_47946(Lnet/minecraft/class_8002$class_8003;Lorg/joml/Matrix4f;Lnet/minecraft/class_287;IIIII)V
      named render Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;render(Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer$RectangleRenderer;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/BufferBuilder;IIIII)V
    • renderBorder

      private static void renderBorder(TooltipBackgroundRenderer.RectangleRenderer renderer, Matrix4f matrix, BufferBuilder buffer, int x, int y, int width, int height, int z, int startYColor, int endYColor)
      Mappings:
      Namespace Name Mixin selector
      official a Levy;a(Levy$a;Lorg/joml/Matrix4f;Legz;IIIIIII)V
      intermediary method_47948 Lnet/minecraft/class_8002;method_47948(Lnet/minecraft/class_8002$class_8003;Lorg/joml/Matrix4f;Lnet/minecraft/class_287;IIIIIII)V
      named renderBorder Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderBorder(Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer$RectangleRenderer;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/BufferBuilder;IIIIIII)V
    • renderVerticalLine

      private static void renderVerticalLine(TooltipBackgroundRenderer.RectangleRenderer renderer, Matrix4f matrix, BufferBuilder buffer, int x, int y, int height, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      official b Levy;b(Levy$a;Lorg/joml/Matrix4f;Legz;IIIII)V
      intermediary method_47949 Lnet/minecraft/class_8002;method_47949(Lnet/minecraft/class_8002$class_8003;Lorg/joml/Matrix4f;Lnet/minecraft/class_287;IIIII)V
      named renderVerticalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderVerticalLine(Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer$RectangleRenderer;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/BufferBuilder;IIIII)V
    • renderVerticalLine

      private static void renderVerticalLine(TooltipBackgroundRenderer.RectangleRenderer renderer, Matrix4f matrix, BufferBuilder buffer, int x, int y, int height, int z, int startColor, int endColor)
      Mappings:
      Namespace Name Mixin selector
      official a Levy;a(Levy$a;Lorg/joml/Matrix4f;Legz;IIIIII)V
      intermediary method_47947 Lnet/minecraft/class_8002;method_47947(Lnet/minecraft/class_8002$class_8003;Lorg/joml/Matrix4f;Lnet/minecraft/class_287;IIIIII)V
      named renderVerticalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderVerticalLine(Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer$RectangleRenderer;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/BufferBuilder;IIIIII)V
    • renderHorizontalLine

      private static void renderHorizontalLine(TooltipBackgroundRenderer.RectangleRenderer renderer, Matrix4f matrix, BufferBuilder buffer, int x, int y, int width, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      official c Levy;c(Levy$a;Lorg/joml/Matrix4f;Legz;IIIII)V
      intermediary method_47951 Lnet/minecraft/class_8002;method_47951(Lnet/minecraft/class_8002$class_8003;Lorg/joml/Matrix4f;Lnet/minecraft/class_287;IIIII)V
      named renderHorizontalLine Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderHorizontalLine(Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer$RectangleRenderer;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/BufferBuilder;IIIII)V
    • renderRectangle

      private static void renderRectangle(TooltipBackgroundRenderer.RectangleRenderer renderer, Matrix4f matrix, BufferBuilder buffer, int x, int y, int width, int height, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      official b Levy;b(Levy$a;Lorg/joml/Matrix4f;Legz;IIIIII)V
      intermediary method_47950 Lnet/minecraft/class_8002;method_47950(Lnet/minecraft/class_8002$class_8003;Lorg/joml/Matrix4f;Lnet/minecraft/class_287;IIIIII)V
      named renderRectangle Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer;renderRectangle(Lnet/minecraft/client/gui/tooltip/TooltipBackgroundRenderer$RectangleRenderer;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/BufferBuilder;IIIIII)V