Class RealmsBackupScreen.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsBackupScreen.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<RealmsBackupScreen.Entry>
com.mojang.realmsclient.gui.screens.RealmsBackupScreen.Entry
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement
- Enclosing class:
RealmsBackupScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Backupprivate Buttonprivate final List<AbstractWidget> private Buttonprivate static final intFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddToChangeList(String change) List<? extends GuiEventListener> children()private Stringprivate StringList<? extends NarratableEntry> private voidpopulateChangeList(Backup p_backup) voidrender(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) private voidMethods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, 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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
Y_PADDING
private static final int Y_PADDING- See Also:
-
backup
-
restoreButton
-
changesButton
-
children
-
-
Constructor Details
-
Entry
-
-
Method Details
-
populateChangeList
-
addToChangeList
-
getShortBackupDate
-
restoreClicked
private void restoreClicked() -
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<RealmsBackupScreen.Entry>
-
render
public void render(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) - Specified by:
renderin classAbstractSelectionList.Entry<RealmsBackupScreen.Entry>
-
getMediumDatePresentation
-