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()voidrender(GuiGraphics p_281597_, int p_282874_, int p_281694_, float p_282363_) 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
Description copied from interface:RenderableRenders the graphical user interface (GUI) element.- Specified by:
renderin interfaceRenderable- Parameters:
p_281597_- the GuiGraphics object used for rendering.p_282874_- the x-coordinate of the mouse cursor.p_281694_- the y-coordinate of the mouse cursor.p_282363_- the partial tick time.
-
getText
-