Class RealmsBackupScreen.BackupObjectSelectionListEntry

All Implemented Interfaces:
Element, Narratable
Enclosing class:
RealmsBackupScreen

@Environment(CLIENT) private class RealmsBackupScreen.BackupObjectSelectionListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
Mappings:
Namespace Name
official dst$b
intermediary net/minecraft/class_4381$class_4383
named net/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry
  • Field Details

    • mBackup

      private final Backup mBackup
      Mappings:
      Namespace Name Mixin selector
      official b Ldst$b;b:Ldrf;
      intermediary field_19761 Lnet/minecraft/class_4381$class_4383;field_19761:Lnet/minecraft/class_4867;
      named mBackup Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;mBackup:Lnet/minecraft/client/realms/dto/Backup;
  • Constructor Details

    • BackupObjectSelectionListEntry

      public BackupObjectSelectionListEntry(Backup backup)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldst$b;<init>(Ldst;Ldrf;)V
      intermediary <init> Lnet/minecraft/class_4381$class_4383;<init>(Lnet/minecraft/class_4381;Lnet/minecraft/class_4867;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;Lnet/minecraft/client/realms/dto/Backup;)V
  • Method Details

    • render

      public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
      Renders an entry in a list.
      Specified by:
      render in class EntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
      Parameters:
      matrices - the matrix stack used for rendering
      index - the index of the entry
      y - the Y coordinate of the entry
      x - the X coordinate of the entry
      entryWidth - the width of the entry
      entryHeight - the height of the entry
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      hovered - whether the mouse is hovering over the entry
      Mappings:
      Namespace Name Mixin selector
      official a Ldwv$a;a(Ldqk;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
    • renderBackupItem

      private void renderBackupItem(MatrixStack matrices, Backup backup, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      official a Ldst$b;a(Ldqk;Ldrf;IIII)V
      intermediary method_21175 Lnet/minecraft/class_4381$class_4383;method_21175(Lnet/minecraft/class_4587;Lnet/minecraft/class_4867;IIII)V
      named renderBackupItem Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;renderBackupItem(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/realms/dto/Backup;IIII)V
    • getMediumDatePresentation

      private String getMediumDatePresentation(Date lastModifiedDate)
      Mappings:
      Namespace Name Mixin selector
      official a Ldst$b;a(Ljava/util/Date;)Ljava/lang/String;
      intermediary method_21176 Lnet/minecraft/class_4381$class_4383;method_21176(Ljava/util/Date;)Ljava/lang/String;
      named getMediumDatePresentation Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;getMediumDatePresentation(Ljava/util/Date;)Ljava/lang/String;
    • drawRestore

      private void drawRestore(MatrixStack matrices, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      official a Ldst$b;a(Ldqk;IIII)V
      intermediary method_21174 Lnet/minecraft/class_4381$class_4383;method_21174(Lnet/minecraft/class_4587;IIII)V
      named drawRestore Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;drawRestore(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
    • drawInfo

      private void drawInfo(MatrixStack matrices, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      official b Ldst$b;b(Ldqk;IIII)V
      intermediary method_21177 Lnet/minecraft/class_4381$class_4383;method_21177(Lnet/minecraft/class_4587;IIII)V
      named drawInfo Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;drawInfo(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
    • method_37006

      public Text method_37006()
      Specified by:
      method_37006 in class AlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm$a;a()Los;
      intermediary method_37006 Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
      named method_37006 Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;method_37006()Lnet/minecraft/text/Text;