Class RealmsBackupScreen.BackupObjectSelectionListEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
net.minecraft.client.realms.gui.screen.RealmsBackupScreen.BackupObjectSelectionListEntry
- All Implemented Interfaces:
Element
,Narratable
,Navigable
- Enclosing class:
RealmsBackupScreen
@Environment(CLIENT)
private class RealmsBackupScreen.BackupObjectSelectionListEntry
extends AlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
- Mappings:
Namespace Name official ejr$b
intermediary net/minecraft/class_4381$class_4383
named net/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry
-
Field Summary
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawInfo
(MatrixStack matrices, int x, int y, int mouseX, int mouseY) private void
drawRestore
(MatrixStack matrices, int x, int y, int mouseX, int mouseY) private String
getMediumDatePresentation
(Date lastModifiedDate) 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.private void
renderBackupItem
(MatrixStack matrices, Backup backup, int x, int y, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations
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
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
mBackup
- Mappings:
Namespace Name Mixin selector official b
Lejr$b;b:Lehz;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lejr$b;<init>(Lejr;Lehz;)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 classEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
- Parameters:
matrices
- the matrix stack used for renderingindex
- 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 a
Lenw$a;a(Lehe;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 x, int y, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official a
Lejr$b;a(Lehe;Lehz;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
- Mappings:
Namespace Name Mixin selector official a
Lejr$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
- Mappings:
Namespace Name Mixin selector official a
Lejr$b;a(Lehe;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
- Mappings:
Namespace Name Mixin selector official b
Lejr$b;b(Lehe;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
-
getNarration
- Specified by:
getNarration
in classAlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
- Mappings:
Namespace Name Mixin selector official a
Leov$a;a()Ltj;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
named getNarration
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-