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$BackupObjectSelectionListEntry
intermediary net/minecraft/class_4381$class_4383
official fjo$b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<ClickableWidget> private @Nullable ButtonWidget
private static final int
private final Backup
private @Nullable ButtonWidget
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
children()
Gets a list of all child GUI elements.private String
private String
getMediumDatePresentation
(Date lastModifiedDate) 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.private void
restore()
List
<? extends Selectable> private void
updateChangeList
(Backup backup) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget.Entry
getFocused, getNavigationPath, getNavigationPath, isDragging, mouseClicked, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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_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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
- Specified by:
selectableChildren
in classElementListWidget.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 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 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
- 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;
-