类 RealmsMainScreen.Entry

所有已实现的接口:
GuiEventListener, TabOrderedElement, NarrationSupplier
直接已知子类:
RealmsMainScreen.AvailableSnapshotEntry, RealmsMainScreen.ButtonEntry, RealmsMainScreen.EmptyEntry, RealmsMainScreen.NotificationMessageEntry, RealmsMainScreen.ParentEntry, RealmsMainScreen.ServerEntry
封闭类:
RealmsMainScreen

abstract class RealmsMainScreen.Entry extends ObjectSelectionList.Entry<RealmsMainScreen.Entry>
  • 字段详细资料

    • STATUS_LIGHT_WIDTH

      protected static final int STATUS_LIGHT_WIDTH
      另请参阅:
    • STATUS_LIGHT_HEIGHT

      private static final int STATUS_LIGHT_HEIGHT
      另请参阅:
    • PADDING_X

      protected static final int PADDING_X
      另请参阅:
    • PADDING_Y

      protected static final int PADDING_Y
      另请参阅:
  • 构造器详细资料

    • Entry

      Entry()
  • 方法详细资料

    • 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_)
    • renderClampedString

      protected void renderClampedString(GuiGraphics p_311967_, @Nullable 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_)
    • gameModeTextX

      protected int gameModeTextX(int p_361673_, int p_369353_, Component p_362134_)
    • renderGameMode

      protected int renderGameMode(RealmsServer p_363303_, GuiGraphics p_363659_, int p_362703_, int p_363524_, int p_362657_)
    • 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_)