Modifier and Type | Field and Description |
---|---|
private int |
color |
private Text |
text |
private int |
x |
private int |
y |
Constructor and Description |
---|
RealmsLabel(Text text,
int x,
int y,
int color) |
Modifier and Type | Method and Description |
---|---|
String |
getText() |
void |
render(Screen screen,
MatrixStack matrixStack) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
private final Text text
private final int x
private final int y
private final int color
public RealmsLabel(Text text, int x, int y, int color)
public void render(Screen screen, MatrixStack matrixStack)
public String getText()