Class RealmsBackupScreen.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsBackupScreen.Entry>
com.mojang.realmsclient.gui.screens.RealmsBackupScreen.Entry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
- RealmsBackupScreen
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Backup
private static final WidgetSprites
private ImageButton
private final List<AbstractWidget>
private static final WidgetSprites
private ImageButton
private static final int
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
private void
private void
addToChangeList
(String p_279195_) private String
getMediumDatePresentation
(Date p_88276_) boolean
mouseClicked
(double p_279279_, double p_279118_, int p_279445_) 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_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
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.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
Y_PADDING
private static final int Y_PADDING- See Also:
-
X_PADDING
private static final int X_PADDING- See Also:
-
CHANGES_BUTTON_SPRITES
-
RESTORE_BUTTON_SPRITES
-
backup
-
children
-
restoreButton
-
changesButton
-
-
Constructor Details
-
Entry
-
-
Method Details
-
populateChangeList
-
addToChangeList
-
addChangesButton
private void addChangesButton() -
addRestoreButton
private void addRestoreButton() -
mouseClicked
public boolean mouseClicked(double p_279279_, double p_279118_, int p_279445_) -
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
-
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<RealmsBackupScreen.Entry>
-