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 intermediary net/minecraft/class_4381$class_4383official ekp$bnamed net/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ClickableWidget>private static final intprivate static final intprivate @Nullable TexturedButtonWidgetprivate final Backupprivate @Nullable TexturedButtonWidgetFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voidprivate StringgetMediumDatePresentation(Date lastModifiedDate) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidrender(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 voidupdateChangeList(Backup backup) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrationsMethods 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
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods 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 intermediary field_44525Lnet/minecraft/class_4381$class_4383;field_44525:Iofficial bLekp$b;b:Inamed field_44525Lnet/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 intermediary field_44526Lnet/minecraft/class_4381$class_4383;field_44526:Iofficial cLekp$b;c:Inamed field_44526Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44526:I
-
mBackup
- Mappings:
Namespace Name Mixin selector intermediary field_19761Lnet/minecraft/class_4381$class_4383;field_19761:Lnet/minecraft/class_4867;official dLekp$b;d:Leix;named mBackupLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;mBackup:Lnet/minecraft/client/realms/dto/Backup;
-
buttons
- Mappings:
Namespace Name Mixin selector intermediary field_44527Lnet/minecraft/class_4381$class_4383;field_44527:Ljava/util/List;official eLekp$b;e:Ljava/util/List;named buttonsLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;buttons:Ljava/util/List;
-
restoreButton
- Mappings:
Namespace Name Mixin selector intermediary field_44528Lnet/minecraft/class_4381$class_4383;field_44528:Lnet/minecraft/class_344;official fLekp$b;f:Lepk;named restoreButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;restoreButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
infoButton
- Mappings:
Namespace Name Mixin selector intermediary field_44529Lnet/minecraft/class_4381$class_4383;field_44529:Lnet/minecraft/class_344;official gLekp$b;g:Lepk;named infoButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;infoButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
-
Constructor Details
-
BackupObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_4381$class_4383;<init>(Lnet/minecraft/class_4381;Lnet/minecraft/class_4867;)Vofficial <init>Lekp$b;<init>(Lekp;Leix;)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 intermediary method_51239Lnet/minecraft/class_4381$class_4383;method_51239(Lnet/minecraft/class_4867;)Vofficial aLekp$b;a(Leix;)Vnamed updateChangeListLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;updateChangeList(Lnet/minecraft/client/realms/dto/Backup;)V
-
addChange
- Mappings:
Namespace Name Mixin selector intermediary method_51241Lnet/minecraft/class_4381$class_4383;method_51241(Ljava/lang/String;)Vofficial aLekp$b;a(Ljava/lang/String;)Vnamed addChangeLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addChange(Ljava/lang/String;)V
-
addInfoButton
private void addInfoButton()- Mappings:
Namespace Name Mixin selector intermediary method_51242Lnet/minecraft/class_4381$class_4383;method_51242()Vofficial bLekp$b;b()Vnamed addInfoButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;addInfoButton()V
-
addRestoreButton
private void addRestoreButton()- Mappings:
Namespace Name Mixin selector intermediary method_51244Lnet/minecraft/class_4381$class_4383;method_51244()Vofficial dLekp$b;d()Vnamed addRestoreButtonLnet/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 inGLFWclass.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLeqk;a(DDI)Znamed mouseClickedLnet/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:
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 intermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vofficial aLeou$a;a(Leop;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
getMediumDatePresentation
- Mappings:
Namespace Name Mixin selector intermediary method_21176Lnet/minecraft/class_4381$class_4383;method_21176(Ljava/util/Date;)Ljava/lang/String;official aLekp$b;a(Ljava/util/Date;)Ljava/lang/String;named getMediumDatePresentationLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;getMediumDatePresentation(Ljava/util/Date;)Ljava/lang/String;
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLept$a;a()Lsw;named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-