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 eka$bintermediary net/minecraft/class_4381$class_4383named net/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final List<ClickableWidget>private @Nullable TexturedButtonWidgetprivate @Nullable TexturedButtonWidgetprivate final BackupFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringgetMediumDatePresentation(Date lastModifiedDate) private voidmethod_51239(Backup backup) private voidmethod_51241(String string) private voidprivate voidbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidrender(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.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 official bLeka$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
-
field_44526
private static final int field_44526- See Also:
- Mappings:
Namespace Name Mixin selector official cLeka$b;c:Iintermediary field_44526Lnet/minecraft/class_4381$class_4383;field_44526:Inamed field_44526Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44526:I
-
mBackup
- Mappings:
Namespace Name Mixin selector official dLeka$b;d:Leii;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_44527
- Mappings:
Namespace Name Mixin selector official eLeka$b;e:Ljava/util/List;intermediary field_44527Lnet/minecraft/class_4381$class_4383;field_44527:Ljava/util/List;named field_44527Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44527:Ljava/util/List;
-
field_44528
- Mappings:
Namespace Name Mixin selector official fLeka$b;f:Leov;intermediary field_44528Lnet/minecraft/class_4381$class_4383;field_44528:Lnet/minecraft/class_344;named field_44528Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44528:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
field_44529
- Mappings:
Namespace Name Mixin selector official hLeka$b;h:Leov;intermediary field_44529Lnet/minecraft/class_4381$class_4383;field_44529:Lnet/minecraft/class_344;named field_44529Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;field_44529:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
-
Constructor Details
-
BackupObjectSelectionListEntry
-
-
Method Details
-
method_51239
- Mappings:
Namespace Name Mixin selector official aLeka$b;a(Leii;)Vintermediary method_51239Lnet/minecraft/class_4381$class_4383;method_51239(Lnet/minecraft/class_4867;)Vnamed method_51239Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;method_51239(Lnet/minecraft/client/realms/dto/Backup;)V
-
method_51241
- Mappings:
Namespace Name Mixin selector official aLeka$b;a(Ljava/lang/String;)Vintermediary method_51241Lnet/minecraft/class_4381$class_4383;method_51241(Ljava/lang/String;)Vnamed method_51241Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;method_51241(Ljava/lang/String;)V
-
method_51242
private void method_51242()- Mappings:
Namespace Name Mixin selector official bLeka$b;b()Vintermediary method_51242Lnet/minecraft/class_4381$class_4383;method_51242()Vnamed method_51242Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;method_51242()V
-
method_51244
private void method_51244()- Mappings:
Namespace Name Mixin selector official dLeka$b;d()Vintermediary method_51244Lnet/minecraft/class_4381$class_4383;method_51244()Vnamed method_51244Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;method_51244()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 official aLepu;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
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:
renderin 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 aLeof$a;a(Lehm;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
getMediumDatePresentation
- Mappings:
Namespace Name Mixin selector official aLeka$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;
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector official aLepe$a;a()Lsv;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-