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_305936_, GuiGraphics p_306216_, int p_306276_, int p_305985_, int p_306182_, int p_306221_)
    • drawRealmStatus

      private void drawRealmStatus(GuiGraphics p_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_)
    • renderThirdLine

      protected void renderThirdLine(GuiGraphics p_307382_, int p_307598_, int p_307521_, RealmsServer p_307617_)
    • renderClampedName

      protected void renderClampedName(GuiGraphics p_306102_, String p_305897_, int p_305934_, int p_306080_, int p_305845_, int p_306320_)
    • versionTextX

      protected int versionTextX(int p_306042_, int p_306287_, Component p_305839_)
    • firstLineY

      protected int firstLineY(int p_306168_)
    • lineHeight

      protected int lineHeight()
    • textX

      protected int textX(int p_305801_)
    • secondLineY

      protected int secondLineY(int p_306251_)
    • thirdLineY

      protected int thirdLineY(int p_306115_)