public class RenderHelper
extends java.lang.Object
| Constructor and Description |
|---|
RenderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addRenderable(Renderable renderable) |
static RenderContext |
getContext() |
static double |
getCurrentHeightRatio() |
static double |
getDirectMouseX() |
static double |
getDirectMouseY() |
static double |
getScaledFontHeight() |
static double |
getScaledMouseX() |
static double |
getScaledMouseY() |
static double |
getScaledStringWidth(java.lang.String str) |
static RenderablePNG |
initPNG(ResourceLocationAPI<?> source,
java.util.Map<java.lang.String,Parameter<?>> parameters) |
static void |
removeRenderable(Renderable renderable) |
static void |
renderAllBackgroundStuff(RenderContext ctx) |
static void |
tickRenderables() |
public static void addRenderable(Renderable renderable)
public static RenderContext getContext()
public static double getCurrentHeightRatio()
public static double getDirectMouseX()
public static double getDirectMouseY()
public static double getScaledFontHeight()
public static double getScaledMouseX()
public static double getScaledMouseY()
public static double getScaledStringWidth(java.lang.String str)
public static RenderablePNG initPNG(ResourceLocationAPI<?> source, java.util.Map<java.lang.String,Parameter<?>> parameters)
public static void removeRenderable(Renderable renderable)
public static void renderAllBackgroundStuff(RenderContext ctx)
public static void tickRenderables()