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 official eyv$bintermediary net/minecraft/class_4381$class_4383named net/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ClickableWidget> private static final intprivate @Nullable ButtonWidgetprivate @Nullable ButtonWidgetprivate final BackupFields 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 StringgetMediumDatePresentation(Date lastModifiedDate) private Stringprivate voidvoidrender(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.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
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 official bLeyv$b;b:Iintermediary field_44525Lnet/minecraft/class_4381$class_4383;field_44525:Inamed field_44525Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44525:I
-
mBackup
- Mappings:
Namespace Name Mixin selector official cLeyv$b;c:Lexe;intermediary field_19761Lnet/minecraft/class_4381$class_4383;field_19761:Lnet/minecraft/class_4867;named mBackupLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;mBackup:Lnet/minecraft/client/realms/dto/Backup;
-
field_49451
- Mappings:
Namespace Name Mixin selector official dLeyv$b;d:Lfdp;intermediary field_49451Lnet/minecraft/class_4381$class_4383;field_49451:Lnet/minecraft/class_4185;named field_49451Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_49451:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
field_49452
- Mappings:
Namespace Name Mixin selector official eLeyv$b;e:Lfdp;intermediary field_49452Lnet/minecraft/class_4381$class_4383;field_49452:Lnet/minecraft/class_4185;named field_49452Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_49452:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttons
- Mappings:
Namespace Name Mixin selector official fLeyv$b;f:Ljava/util/List;intermediary field_44527Lnet/minecraft/class_4381$class_4383;field_44527:Ljava/util/List;named buttonsLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;buttons:Ljava/util/List;
-
-
Constructor Details
-
BackupObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector official <init>Leyv$b;<init>(Leyv;Lexe;)Vintermediary <init>Lnet/minecraft/class_4381$class_4383;<init>(Lnet/minecraft/class_4381;Lnet/minecraft/class_4867;)Vnamed <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
-
updateChangeList
- Mappings:
Namespace Name Mixin selector official aLeyv$b;a(Lexe;)Vintermediary method_51239Lnet/minecraft/class_4381$class_4383;method_51239(Lnet/minecraft/class_4867;)Vnamed updateChangeListLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;updateChangeList(Lnet/minecraft/client/realms/dto/Backup;)V
-
addChange
- Mappings:
Namespace Name Mixin selector official aLeyv$b;a(Ljava/lang/String;)Vintermediary method_51241Lnet/minecraft/class_4381$class_4383;method_51241(Ljava/lang/String;)Vnamed addChangeLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addChange(Ljava/lang/String;)V
-
method_57672
- Mappings:
Namespace Name Mixin selector official cLeyv$b;c()Ljava/lang/String;intermediary method_57672Lnet/minecraft/class_4381$class_4383;method_57672()Ljava/lang/String;named method_57672Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;method_57672()Ljava/lang/String;
-
method_57674
private void method_57674()- Mappings:
Namespace Name Mixin selector official dLeyv$b;d()Vintermediary method_57674Lnet/minecraft/class_4381$class_4383;method_57674()Vnamed method_57674Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;method_57674()V
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector official aF_Lffk;aF_()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
-
selectableChildren
- Specified by:
selectableChildrenin classElementListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector official bLfdv$a;b()Ljava/util/List;intermediary method_37025Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;named selectableChildrenLnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()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:
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 official aLfdk$a;a(Lfdc;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
getMediumDatePresentation
- Mappings:
Namespace Name Mixin selector official aLeyv$b;a(Ljava/util/Date;)Ljava/lang/String;intermediary method_21176Lnet/minecraft/class_4381$class_4383;method_21176(Ljava/util/Date;)Ljava/lang/String;named getMediumDatePresentationLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;getMediumDatePresentation(Ljava/util/Date;)Ljava/lang/String;
-