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 eso$b
intermediary net/minecraft/class_4381$class_4383
named net/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ClickableWidget>
private static final ButtonTextures
private static final int
private static final int
private @Nullable TexturedButtonWidget
private final Backup
private static final ButtonTextures
private @Nullable TexturedButtonWidget
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
private void
private String
getMediumDatePresentation
(Date lastModifiedDate) boolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.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
updateChangeList
(Backup backup) 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, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
field_44525
private static final int field_44525- See Also:
- Mappings:
Namespace Name Mixin selector official b
Leso$b;b:I
intermediary field_44525
Lnet/minecraft/class_4381$class_4383;field_44525:I
named field_44525
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44525:I
-
field_44526
private static final int field_44526- See Also:
- Mappings:
Namespace Name Mixin selector official c
Leso$b;c:I
intermediary field_44526
Lnet/minecraft/class_4381$class_4383;field_44526:I
named field_44526
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44526:I
-
CHANGES_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector official d
Leso$b;d:Leyt;
intermediary field_45237
Lnet/minecraft/class_4381$class_4383;field_45237:Lnet/minecraft/class_8666;
named CHANGES_BUTTON_TEXTURES
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;CHANGES_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
RESTORE_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector official e
Leso$b;e:Leyt;
intermediary field_45238
Lnet/minecraft/class_4381$class_4383;field_45238:Lnet/minecraft/class_8666;
named RESTORE_BUTTON_TEXTURES
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;RESTORE_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
mBackup
- Mappings:
Namespace Name Mixin selector official f
Leso$b;f:Leqx;
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;
-
buttons
- Mappings:
Namespace Name Mixin selector official g
Leso$b;g:Ljava/util/List;
intermediary field_44527
Lnet/minecraft/class_4381$class_4383;field_44527:Ljava/util/List;
named buttons
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;buttons:Ljava/util/List;
-
restoreButton
- Mappings:
Namespace Name Mixin selector official h
Leso$b;h:Lexs;
intermediary field_44528
Lnet/minecraft/class_4381$class_4383;field_44528:Lnet/minecraft/class_344;
named restoreButton
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;restoreButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
infoButton
- Mappings:
Namespace Name Mixin selector official i
Leso$b;i:Lexs;
intermediary field_44529
Lnet/minecraft/class_4381$class_4383;field_44529:Lnet/minecraft/class_344;
named infoButton
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;infoButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
-
Constructor Details
-
BackupObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector official <init>
Leso$b;<init>(Leso;Leqx;)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
-
updateChangeList
- Mappings:
Namespace Name Mixin selector official a
Leso$b;a(Leqx;)V
intermediary method_51239
Lnet/minecraft/class_4381$class_4383;method_51239(Lnet/minecraft/class_4867;)V
named updateChangeList
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;updateChangeList(Lnet/minecraft/client/realms/dto/Backup;)V
-
addChange
- Mappings:
Namespace Name Mixin selector official a
Leso$b;a(Ljava/lang/String;)V
intermediary method_51241
Lnet/minecraft/class_4381$class_4383;method_51241(Ljava/lang/String;)V
named addChange
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addChange(Ljava/lang/String;)V
-
addInfoButton
private void addInfoButton()- Mappings:
Namespace Name Mixin selector official b
Leso$b;b()V
intermediary method_51242
Lnet/minecraft/class_4381$class_4383;method_51242()V
named addInfoButton
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addInfoButton()V
-
addRestoreButton
private void addRestoreButton()- Mappings:
Namespace Name Mixin selector official c
Leso$b;c()V
intermediary method_51244
Lnet/minecraft/class_4381$class_4383;method_51244()V
named addRestoreButton
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addRestoreButton()V
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFW
class.- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lezb;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
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 official a
Lexb$a;a(Lewu;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
named render
Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
getMediumDatePresentation
- Mappings:
Namespace Name Mixin selector official a
Leso$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;
-
getNarration
- Specified by:
getNarration
in classAlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
- Mappings:
Namespace Name Mixin selector official a
Leyc$a;a()Lvf;
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;
-