Class TooltipRenderUtil

java.lang.Object
net.minecraft.client.gui.screens.inventory.tooltip.TooltipRenderUtil

public class TooltipRenderUtil extends Object
  • Field Details

  • Constructor Details

    • TooltipRenderUtil

      public TooltipRenderUtil()
  • Method Details

    • renderTooltipBackground

      public static void renderTooltipBackground(GuiGraphics guiGraphics, int x, int y, int width, int height, int z)
    • renderTooltipBackground

      public static void renderTooltipBackground(GuiGraphics guiGraphics, int x, int y, int width, int height, int z, int backgroundTop, int backgroundBottom, int borderTop, int borderBottom)
    • renderFrameGradient

      private static void renderFrameGradient(GuiGraphics guiGraphics, int x, int y, int width, int height, int z, int topColor, int bottomColor)
    • renderVerticalLine

      private static void renderVerticalLine(GuiGraphics guiGraphics, int x, int y, int length, int z, int color)
    • renderVerticalLineGradient

      private static void renderVerticalLineGradient(GuiGraphics guiGraphics, int x, int y, int length, int z, int topColor, int bottomColor)
    • renderHorizontalLine

      private static void renderHorizontalLine(GuiGraphics guiGraphics, int x, int y, int length, int z, int color)
    • renderRectangle

      @Deprecated private static void renderRectangle(GuiGraphics guiGraphics, int x, int y, int width, int height, int z, int color)
      Deprecated.
      Forge: Use gradient overload instead
    • renderRectangle

      private static void renderRectangle(GuiGraphics guiGraphics, int x, int y, int width, int height, int z, int color, int colorTo)