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 p_281597_, int p_282874_, int p_281694_, float p_282363_)
      Description copied from interface: Renderable
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      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

      public Component getText()