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
Modifier and TypeFieldDescriptionprivate final Backup
private Button
private final List
<AbstractWidget> private Button
private static final int
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addToChangeList
(String p_279195_) List
<? extends GuiEventListener> children()
private String
getMediumDatePresentation
(Date p_88276_) private String
List
<? extends NarratableEntry> private void
populateChangeList
(Backup p_279365_) void
render
(GuiGraphics p_281408_, int p_281974_, int p_282495_, int p_282463_, int p_281562_, int p_282782_, int p_281638_, int p_283190_, boolean p_283105_, float p_282066_) private void
Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
Y_PADDING
private static final int Y_PADDING- See Also:
-
backup
-
changesButton
-
restoreButton
-
children
-
-
Constructor Details
-
Entry
-
-
Method Details
-
populateChangeList
-
addToChangeList
-
getShortBackupDate
-
restoreClicked
private void restoreClicked() -
children
-
narratables
- Specified by:
narratables
in classContainerObjectSelectionList.Entry<RealmsBackupScreen.Entry>
-
render
public void render(GuiGraphics p_281408_, int p_281974_, int p_282495_, int p_282463_, int p_281562_, int p_282782_, int p_281638_, int p_283190_, boolean p_283105_, float p_282066_) - Specified by:
render
in classAbstractSelectionList.Entry<RealmsBackupScreen.Entry>
-
getMediumDatePresentation
-