Class RealmsBackupScreen.BackupObjectSelectionListEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
net.minecraft.client.gui.widget.ElementListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
net.minecraft.client.realms.gui.screen.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$BackupObjectSelectionListEntryintermediary net/minecraft/class_4381$class_4383official frx$b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ClickableWidget> private @Nullable ButtonWidgetprivate static final intprivate final Backupprivate @Nullable ButtonWidgetFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidchildren()Gets a list of all child GUI elements.private Stringprivate StringgetMediumDatePresentation(Date lastModifiedDate) voidrender(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickProgress) Renders an entry in a list.private voidrestore()List<? extends Selectable> private voidupdateChangeList(Backup backup) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget.Entry
getFocused, getNavigationPath, getNavigationPath, isDragging, mouseClicked, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
field_44525
private static final int field_44525- See Also:
- Mappings:
Namespace Name Mixin selector named field_44525Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44525:Iintermediary field_44525Lnet/minecraft/class_4381$class_4383;field_44525:Iofficial bLfrx$b;b:I
-
mBackup
- Mappings:
Namespace Name Mixin selector named mBackupLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;mBackup:Lnet/minecraft/client/realms/dto/Backup;intermediary field_19761Lnet/minecraft/class_4381$class_4383;field_19761:Lnet/minecraft/class_4867;official cLfrx$b;c:Lfqg;
-
restoreButton
- Mappings:
Namespace Name Mixin selector named restoreButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;restoreButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_49452Lnet/minecraft/class_4381$class_4383;field_49452:Lnet/minecraft/class_4185;official dLfrx$b;d:Lfxy;
-
changesButton
- Mappings:
Namespace Name Mixin selector named changesButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;changesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_49451Lnet/minecraft/class_4381$class_4383;field_49451:Lnet/minecraft/class_4185;official eLfrx$b;e:Lfxy;
-
buttons
- Mappings:
Namespace Name Mixin selector named buttonsLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;buttons:Ljava/util/List;intermediary field_44527Lnet/minecraft/class_4381$class_4383;field_44527:Ljava/util/List;official fLfrx$b;f:Ljava/util/List;
-
-
Constructor Details
-
BackupObjectSelectionListEntry
- 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;)Vintermediary <init>Lnet/minecraft/class_4381$class_4383;<init>(Lnet/minecraft/class_4381;Lnet/minecraft/class_4867;)Vofficial <init>Lfrx$b;<init>(Lfrx;Lfqg;)V
-
-
Method Details
-
updateChangeList
- Mappings:
Namespace Name Mixin selector named updateChangeListLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;updateChangeList(Lnet/minecraft/client/realms/dto/Backup;)Vintermediary method_51239Lnet/minecraft/class_4381$class_4383;method_51239(Lnet/minecraft/class_4867;)Vofficial aLfrx$b;a(Lfqg;)V
-
addChange
- Mappings:
Namespace Name Mixin selector named addChangeLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addChange(Ljava/lang/String;)Vintermediary method_51241Lnet/minecraft/class_4381$class_4383;method_51241(Ljava/lang/String;)Vofficial aLfrx$b;a(Ljava/lang/String;)V
-
getLastModifiedDate
- Mappings:
Namespace Name Mixin selector named getLastModifiedDateLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;getLastModifiedDate()Ljava/lang/String;intermediary method_57672Lnet/minecraft/class_4381$class_4383;method_57672()Ljava/lang/String;official cLfrx$b;c()Ljava/lang/String;
-
restore
private void restore()- Mappings:
Namespace Name Mixin selector named restoreLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;restore()Vintermediary method_57674Lnet/minecraft/class_4381$class_4383;method_57674()Vofficial gLfrx$b;g()V
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official aJ_Lfzu;aJ_()Ljava/util/List;
-
selectableChildren
- Specified by:
selectableChildrenin classElementListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector named selectableChildrenLnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;intermediary method_37025Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;official bLfye$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 tickProgress) Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>- Parameters:
index- the index of the entryy- the Y coordinate of the entryx- the X coordinate of the entryentryWidth- the width of the entryentryHeight- the height of the entrymouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehovered- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vofficial aLfxs$a;a(Lfxk;IIIIIIIZF)V
-
getMediumDatePresentation
- Mappings:
Namespace Name Mixin selector named getMediumDatePresentationLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;getMediumDatePresentation(Ljava/util/Date;)Ljava/lang/String;intermediary method_21176Lnet/minecraft/class_4381$class_4383;method_21176(Ljava/util/Date;)Ljava/lang/String;official aLfrx$b;a(Ljava/util/Date;)Ljava/lang/String;
-