public class Font
extends Object
-
-
Method Summary
int
void
print(com.mojang.blaze3d.vertex.PoseStack poseStack,
Object o,
int x,
int y)
void
print(com.mojang.blaze3d.vertex.PoseStack poseStack,
Object o,
int x,
int y,
int color)
void
print(com.mojang.blaze3d.vertex.PoseStack poseStack,
Object o,
int x,
int y,
int color,
boolean shadow)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
small
public static final Font small
-
normal
public static final Font normal
-
Method Details
-
print
public void print
(com.mojang.blaze3d.vertex.PoseStack poseStack,
Object o,
int x,
int y)
-
print
public void print
(com.mojang.blaze3d.vertex.PoseStack poseStack,
Object o,
int x,
int y,
int color)
-
print
public void print
(com.mojang.blaze3d.vertex.PoseStack poseStack,
Object o,
int x,
int y,
int color,
boolean shadow)
-
getStringWidth
public int getStringWidth
(String string)