Class RealmsMainScreen.Entry

All Implemented Interfaces:
GuiEventListener, TabOrderedElement, NarrationSupplier
Direct Known Subclasses:
RealmsMainScreen.AvailableSnapshotEntry, RealmsMainScreen.ButtonEntry, RealmsMainScreen.EmptyEntry, RealmsMainScreen.NotificationMessageEntry, RealmsMainScreen.ParentEntry, RealmsMainScreen.ServerEntry
Enclosing class:
RealmsMainScreen

abstract class RealmsMainScreen.Entry extends ObjectSelectionList.Entry<RealmsMainScreen.Entry>
  • Field Details

  • Constructor Details

    • Entry

      Entry()
  • Method Details

    • renderStatusLights

      protected void renderStatusLights(RealmsServer p_312488_, GuiGraphics p_310620_, int p_309999_, int p_309772_, int p_310609_, int p_312927_)
    • drawRealmStatus

      private void drawRealmStatus(GuiGraphics p_312727_, int p_311004_, int p_311259_, int p_310947_, int p_311421_, ResourceLocation p_313063_, Supplier<Component> p_312584_)
    • renderThirdLine

      protected void renderThirdLine(GuiGraphics p_309875_, int p_309431_, int p_312885_, RealmsServer p_311246_)
    • renderClampedName

      protected void renderClampedName(GuiGraphics p_311967_, String p_310470_, int p_311349_, int p_310646_, int p_312217_, int p_310447_)
    • versionTextX

      protected int versionTextX(int p_312234_, int p_313052_, Component p_311065_)
    • firstLineY

      protected int firstLineY(int p_311005_)
    • lineHeight

      protected int lineHeight()
    • textX

      protected int textX(int p_312460_)
    • secondLineY

      protected int secondLineY(int p_309933_)
    • thirdLineY

      protected int thirdLineY(int p_310502_)