Class RealmsBackupScreen.Entry

All Implemented Interfaces:
GuiEventListener, NarrationSupplier
Enclosing class:
RealmsBackupScreen

class RealmsBackupScreen.Entry extends ObjectSelectionList.Entry<RealmsBackupScreen.Entry>
  • Field Details

    • backup

      private final Backup backup
  • Constructor Details

    • Entry

      public Entry(Backup p_88250_)
  • Method Details

    • render

      public void render(PoseStack p_88258_, int p_88259_, int p_88260_, int p_88261_, int p_88262_, int p_88263_, int p_88264_, int p_88265_, boolean p_88266_, float p_88267_)
      Specified by:
      render in class AbstractSelectionList.Entry<RealmsBackupScreen.Entry>
    • renderBackupItem

      private void renderBackupItem(PoseStack p_88269_, Backup p_88270_, int p_88271_, int p_88272_, int p_88273_, int p_88274_)
    • getMediumDatePresentation

      private String getMediumDatePresentation(Date p_88276_)
    • drawRestore

      private void drawRestore(PoseStack p_88252_, int p_88253_, int p_88254_, int p_88255_, int p_88256_)
    • drawInfo

      private void drawInfo(PoseStack p_88278_, int p_88279_, int p_88280_, int p_88281_, int p_88282_)
    • getNarration

      public Component getNarration()
      Specified by:
      getNarration in class ObjectSelectionList.Entry<RealmsBackupScreen.Entry>