Java net.minecraftforge.fml.client.config GuiUtils fields, constructors, methods, implement or subclass

Example usage for Java net.minecraftforge.fml.client.config GuiUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for net.minecraftforge.fml.client.config GuiUtils.

The text is from its open source code.

Method

voiddrawContinuousTexturedBox(ResourceLocation res, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int borderSize, float zLevel)
Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler.
voiddrawGradientRect(int zLevel, int left, int top, int right, int bottom, int startColor, int endColor)
voiddrawHoveringText(List textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, FontRenderer font)
Draws a tooltip box on the screen with text in it.
voiddrawHoveringText(@Nonnull final ItemStack stack, List textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, FontRenderer font)
Use this version if calling from somewhere where ItemStack context is available.
voiddrawTexturedModalRect(int x, int y, int u, int v, int width, int height, float zLevel)
voidpostItemToolTip()
Must be called from GuiScreen.renderToolTip after GuiScreen.drawHoveringText is called.
voidpreItemToolTip(@Nonnull ItemStack stack)
Must be called from GuiScreen.renderToolTip before GuiScreen.drawHoveringText is called.