Class TooltipRenderUtil
java.lang.Object
net.minecraft.client.gui.screens.inventory.tooltip.TooltipRenderUtil
-
Nested Class Summary
-
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
(TooltipRenderUtil.BlitPainter p_262974_, org.joml.Matrix4f p_263030_, BufferBuilder p_263061_, int p_262982_, int p_262912_, int p_262946_, int p_263049_, int p_263118_, int p_263104_, int p_262979_) private static void
renderHorizontalLine
(TooltipRenderUtil.BlitPainter p_262966_, org.joml.Matrix4f p_263094_, BufferBuilder p_262943_, int p_262949_, int p_263068_, int p_263111_, int p_263095_, int p_262918_) private static void
renderRectangle
(TooltipRenderUtil.BlitPainter p_262933_, org.joml.Matrix4f p_263035_, BufferBuilder p_263084_, int p_262945_, int p_262955_, int p_263017_, int p_262978_, int p_262950_, int p_262931_) static void
renderTooltipBackground
(TooltipRenderUtil.BlitPainter p_262929_, org.joml.Matrix4f p_263052_, BufferBuilder p_263082_, int p_263046_, int p_263101_, int p_263024_, int p_262926_, int p_263038_) private static void
renderVerticalLine
(TooltipRenderUtil.BlitPainter p_262921_, org.joml.Matrix4f p_263044_, BufferBuilder p_262936_, int p_262967_, int p_262922_, int p_262938_, int p_263008_, int p_263088_) private static void
renderVerticalLineGradient
(TooltipRenderUtil.BlitPainter p_263090_, org.joml.Matrix4f p_263096_, BufferBuilder p_263015_, int p_262919_, int p_262995_, int p_263067_, int p_263023_, int p_262942_, int p_263114_)
-
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(TooltipRenderUtil.BlitPainter p_262929_, org.joml.Matrix4f p_263052_, BufferBuilder p_263082_, int p_263046_, int p_263101_, int p_263024_, int p_262926_, int p_263038_) -
renderFrameGradient
private static void renderFrameGradient(TooltipRenderUtil.BlitPainter p_262974_, org.joml.Matrix4f p_263030_, BufferBuilder p_263061_, int p_262982_, int p_262912_, int p_262946_, int p_263049_, int p_263118_, int p_263104_, int p_262979_) -
renderVerticalLine
private static void renderVerticalLine(TooltipRenderUtil.BlitPainter p_262921_, org.joml.Matrix4f p_263044_, BufferBuilder p_262936_, int p_262967_, int p_262922_, int p_262938_, int p_263008_, int p_263088_) -
renderVerticalLineGradient
private static void renderVerticalLineGradient(TooltipRenderUtil.BlitPainter p_263090_, org.joml.Matrix4f p_263096_, BufferBuilder p_263015_, int p_262919_, int p_262995_, int p_263067_, int p_263023_, int p_262942_, int p_263114_) -
renderHorizontalLine
private static void renderHorizontalLine(TooltipRenderUtil.BlitPainter p_262966_, org.joml.Matrix4f p_263094_, BufferBuilder p_262943_, int p_262949_, int p_263068_, int p_263111_, int p_263095_, int p_262918_) -
renderRectangle
private static void renderRectangle(TooltipRenderUtil.BlitPainter p_262933_, org.joml.Matrix4f p_263035_, BufferBuilder p_263084_, int p_262945_, int p_262955_, int p_263017_, int p_262978_, int p_262950_, int p_262931_)
-