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
- Enclosing class:
- RealmsBackupScreen
@Environment(CLIENT) class RealmsBackupScreen.BackupObjectSelectionListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BackupObjectSelectionListEntry(Backup backup) -
Method Summary
Modifier and Type Method Description private voiddrawInfo(MatrixStack matrixStack, int int2, int int3, int int4, int int5)private voiddrawRestore(MatrixStack matrixStack, 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)private voidrenderBackupItem(MatrixStack matrixStack, Backup backup, int int2, int int3, int int4, int int5)Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
changeFocusMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOverMethods 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, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
mBackup
-
-
Constructor Details
-
BackupObjectSelectionListEntry
-
-
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)- Specified by:
renderin classEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
renderBackupItem
private void renderBackupItem(MatrixStack matrixStack, Backup backup, int int2, int int3, int int4, int int5) -
getMediumDatePresentation
-
drawRestore
-
drawInfo
-