Class RealmsLabel

java.lang.Object
net.minecraft.realms.RealmsLabel
All Implemented Interfaces:
Renderable

public class RealmsLabel extends Object implements Renderable
  • Field Details

    • text

      private final Component text
    • x

      private final int x
    • y

      private final int y
    • color

      private final int color
  • Constructor Details

    • RealmsLabel

      public RealmsLabel(Component pText, int pX, int pY, int pColor)
  • Method Details

    • render

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      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

      public Component getText()