Class RealmsBackupScreen.BackupObjectSelectionListEntry

All Implemented Interfaces:
Element, Navigable, ParentElement
Enclosing class:
RealmsBackupScreen

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

    • field_44525

      private static final int field_44525
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44525 Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44525:I
      intermediary field_44525 Lnet/minecraft/class_4381$class_4383;field_44525:I
      official b Lfjo$b;b:I
    • mBackup

      private final Backup mBackup
      Mappings:
      Namespace Name Mixin selector
      named mBackup Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;mBackup:Lnet/minecraft/client/realms/dto/Backup;
      intermediary field_19761 Lnet/minecraft/class_4381$class_4383;field_19761:Lnet/minecraft/class_4867;
      official c Lfjo$b;c:Lfhx;
    • restoreButton

      @Nullable private @Nullable ButtonWidget restoreButton
      Mappings:
      Namespace Name Mixin selector
      named restoreButton Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;restoreButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_49452 Lnet/minecraft/class_4381$class_4383;field_49452:Lnet/minecraft/class_4185;
      official d Lfjo$b;d:Lfoe;
    • changesButton

      @Nullable private @Nullable ButtonWidget changesButton
      Mappings:
      Namespace Name Mixin selector
      named changesButton Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;changesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_49451 Lnet/minecraft/class_4381$class_4383;field_49451:Lnet/minecraft/class_4185;
      official e Lfjo$b;e:Lfoe;
    • buttons

      private final List<ClickableWidget> buttons
      Mappings:
      Namespace Name Mixin selector
      named buttons Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;buttons:Ljava/util/List;
      intermediary field_44527 Lnet/minecraft/class_4381$class_4383;field_44527:Ljava/util/List;
      official f Lfjo$b;f:Ljava/util/List;
  • Constructor Details

    • BackupObjectSelectionListEntry

      public BackupObjectSelectionListEntry(Backup backup)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_4381$class_4383;<init>(Lnet/minecraft/class_4381;Lnet/minecraft/class_4867;)V
      official <init> Lfjo$b;<init>(Lfjo;Lfhx;)V
  • Method Details

    • updateChangeList

      private void updateChangeList(Backup backup)
      Mappings:
      Namespace Name Mixin selector
      named updateChangeList Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;updateChangeList(Lnet/minecraft/client/realms/dto/Backup;)V
      intermediary method_51239 Lnet/minecraft/class_4381$class_4383;method_51239(Lnet/minecraft/class_4867;)V
      official a Lfjo$b;a(Lfhx;)V
    • addChange

      private void addChange(String metadataKey)
      Mappings:
      Namespace Name Mixin selector
      named addChange Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addChange(Ljava/lang/String;)V
      intermediary method_51241 Lnet/minecraft/class_4381$class_4383;method_51241(Ljava/lang/String;)V
      official a Lfjo$b;a(Ljava/lang/String;)V
    • getLastModifiedDate

      private String getLastModifiedDate()
      Mappings:
      Namespace Name Mixin selector
      named getLastModifiedDate Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;getLastModifiedDate()Ljava/lang/String;
      intermediary method_57672 Lnet/minecraft/class_4381$class_4383;method_57672()Ljava/lang/String;
      official c Lfjo$b;c()Ljava/lang/String;
    • restore

      private void restore()
      Mappings:
      Namespace Name Mixin selector
      named restore Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;restore()V
      intermediary method_57674 Lnet/minecraft/class_4381$class_4383;method_57674()V
      official g Lfjo$b;g()V
    • children

      public List<? extends Element> children()
      Gets a list of all child GUI elements.
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
      intermediary method_25396 Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
      official aI_ Lfqb;aI_()Ljava/util/List;
    • selectableChildren

      public List<? extends Selectable> selectableChildren()
      Specified by:
      selectableChildren in class ElementListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
      Mappings:
      Namespace Name Mixin selector
      named selectableChildren Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;
      intermediary method_37025 Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;
      official b Lfok$a;b()Ljava/util/List;
    • render

      public void render(DrawContext context, 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:
      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
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
      official a Lfnz$a;a(Lfnr;IIIIIIIZF)V
    • getMediumDatePresentation

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