Class TooltipRenderUtil
java.lang.Object
net.minecraft.client.gui.screens.inventory.tooltip.TooltipRenderUtil
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
static final int
private static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
renderFrameGradient
(GuiGraphics p_282000_, int p_282055_, int p_281580_, int p_283284_, int p_282599_, int p_283432_, int p_282907_, int p_283153_) private static void
renderHorizontalLine
(GuiGraphics p_282981_, int p_282028_, int p_282141_, int p_281771_, int p_282734_, int p_281979_) private static void
renderRectangle
(GuiGraphics p_281392_, int p_282294_, int p_283353_, int p_282640_, int p_281964_, int p_283211_, int p_282349_) private static void
renderRectangleGradient
(GuiGraphics p_281392_, int p_282294_, int p_283353_, int p_282640_, int p_281964_, int p_283211_, int p_282349_, int colorTo) static void
renderTooltipBackground
(GuiGraphics p_282666_, int p_281901_, int p_281846_, int p_281559_, int p_283336_, int p_283422_) static void
renderTooltipBackground
(GuiGraphics p_282666_, int p_281901_, int p_281846_, int p_281559_, int p_283336_, int p_283422_, int backgroundTop, int backgroundBottom, int borderTop, int borderBottom) private static void
renderVerticalLine
(GuiGraphics p_281270_, int p_281928_, int p_281561_, int p_283155_, int p_282552_, int p_282221_) private static void
renderVerticalLineGradient
(GuiGraphics p_282478_, int p_282583_, int p_283262_, int p_283161_, int p_283322_, int p_282624_, int p_282756_)
-
Field Details
-
MOUSE_OFFSET
public static final int MOUSE_OFFSET- See Also:
-
PADDING
private static final int PADDING- See Also:
-
PADDING_LEFT
public static final int PADDING_LEFT- See Also:
-
PADDING_RIGHT
public static final int PADDING_RIGHT- See Also:
-
PADDING_TOP
public static final int PADDING_TOP- See Also:
-
PADDING_BOTTOM
public static final int PADDING_BOTTOM- See Also:
-
BACKGROUND_COLOR
private static final int BACKGROUND_COLOR- See Also:
-
BORDER_COLOR_TOP
private static final int BORDER_COLOR_TOP- See Also:
-
BORDER_COLOR_BOTTOM
private static final int BORDER_COLOR_BOTTOM- See Also:
-
-
Constructor Details
-
TooltipRenderUtil
public TooltipRenderUtil()
-
-
Method Details
-
renderTooltipBackground
public static void renderTooltipBackground(GuiGraphics p_282666_, int p_281901_, int p_281846_, int p_281559_, int p_283336_, int p_283422_) -
renderTooltipBackground
public static void renderTooltipBackground(GuiGraphics p_282666_, int p_281901_, int p_281846_, int p_281559_, int p_283336_, int p_283422_, int backgroundTop, int backgroundBottom, int borderTop, int borderBottom) -
renderFrameGradient
private static void renderFrameGradient(GuiGraphics p_282000_, int p_282055_, int p_281580_, int p_283284_, int p_282599_, int p_283432_, int p_282907_, int p_283153_) -
renderVerticalLine
private static void renderVerticalLine(GuiGraphics p_281270_, int p_281928_, int p_281561_, int p_283155_, int p_282552_, int p_282221_) -
renderVerticalLineGradient
private static void renderVerticalLineGradient(GuiGraphics p_282478_, int p_282583_, int p_283262_, int p_283161_, int p_283322_, int p_282624_, int p_282756_) -
renderHorizontalLine
private static void renderHorizontalLine(GuiGraphics p_282981_, int p_282028_, int p_282141_, int p_281771_, int p_282734_, int p_281979_) -
renderRectangle
private static void renderRectangle(GuiGraphics p_281392_, int p_282294_, int p_283353_, int p_282640_, int p_281964_, int p_283211_, int p_282349_) -
renderRectangleGradient
private static void renderRectangleGradient(GuiGraphics p_281392_, int p_282294_, int p_283353_, int p_282640_, int p_281964_, int p_283211_, int p_282349_, int colorTo)
-