Package net.minecraft.realms
Class RealmsLabel
java.lang.Object
net.minecraft.realms.RealmsLabel
- All Implemented Interfaces:
Renderable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetText()
void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) Renders the graphical user interface (GUI) element.
-
Field Details
-
text
-
x
private final int x -
y
private final int y -
color
private final int color
-
-
Constructor Details
-
RealmsLabel
-
-
Method Details
-
render
Renders the graphical user interface (GUI) element.- Specified by:
render
in interfaceRenderable
- Parameters:
pGuiGraphics
- the GuiGraphics object used for rendering.pMouseX
- the x-coordinate of the mouse cursor.pMouseY
- the y-coordinate of the mouse cursor.pPartialTick
- the partial tick time.
-
getText
-