类 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
-
- 所有已实现的接口:
Element
- 封闭类:
- RealmsBackupScreen
@Environment(CLIENT) class RealmsBackupScreen.BackupObjectSelectionListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
- Mappings:
Namespace Name official drr$bintermediary net/minecraft/class_4381$class_4383named net/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry
-
-
构造器概要
构造器 构造器 说明 BackupObjectSelectionListEntry(Backup backup)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voiddrawInfo(MatrixStack matrices, int int2, int int3, int int4, int int5)private voiddrawRestore(MatrixStack matrices, int int2, int int3, int int4, int int5)private StringgetMediumDatePresentation(Date lastModifiedDate)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.private voidrenderBackupItem(MatrixStack matrices, Backup backup, int int2, int int3, int int4, int int5)-
从类继承的方法 net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
changeFocus
-
从类继承的方法 net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
字段详细资料
-
mBackup
private final Backup mBackup
- Mappings:
Namespace Name Mixin selector official bLdrr$b;b:Ldqd;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;
-
-
构造器详细资料
-
BackupObjectSelectionListEntry
public BackupObjectSelectionListEntry(Backup backup)
- Mappings:
Namespace Name Mixin selector official <init>Ldrr$b;<init>(Ldrr;Ldqd;)Vintermediary <init>Lnet/minecraft/class_4381$class_4383;<init>(Lnet/minecraft/class_4381;Lnet/minecraft/class_4867;)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
-
-
方法详细资料
-
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.- 指定者:
render在类中EntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>- 参数:
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 aLdvs$a;a(Ldpi;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
-
renderBackupItem
private void renderBackupItem(MatrixStack matrices, Backup backup, int int2, int int3, int int4, int int5)
- Mappings:
Namespace Name Mixin selector official aLdrr$b;a(Ldpi;Ldqd;IIII)Vintermediary method_21175Lnet/minecraft/class_4381$class_4383;method_21175(Lnet/minecraft/class_4587;Lnet/minecraft/class_4867;IIII)Vnamed renderBackupItemLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;renderBackupItem(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/realms/dto/Backup;IIII)V
-
getMediumDatePresentation
private String getMediumDatePresentation(Date lastModifiedDate)
- Mappings:
Namespace Name Mixin selector official aLdrr$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;
-
drawRestore
private void drawRestore(MatrixStack matrices, int int2, int int3, int int4, int int5)
- Mappings:
Namespace Name Mixin selector official aLdrr$b;a(Ldpi;IIII)Vintermediary method_21174Lnet/minecraft/class_4381$class_4383;method_21174(Lnet/minecraft/class_4587;IIII)Vnamed drawRestoreLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;drawRestore(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
drawInfo
private void drawInfo(MatrixStack matrices, int int2, int int3, int int4, int int5)
- Mappings:
Namespace Name Mixin selector official bLdrr$b;b(Ldpi;IIII)Vintermediary method_21177Lnet/minecraft/class_4381$class_4383;method_21177(Lnet/minecraft/class_4587;IIII)Vnamed drawInfoLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionListEntry;drawInfo(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
-