Class RealmsBackupScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsBackupScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official ejr
intermediary net/minecraft/class_4381
named net/minecraft/client/realms/gui/screen/RealmsBackupScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescription(package private) RealmsBackupScreen.BackupObjectSelectionList
private static final Text
(package private) static final Text
private ButtonWidget
private ButtonWidget
(package private) static int
(package private) static final Logger
private static final Text
(package private) Boolean
private final RealmsConfigureWorldScreen
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
private ButtonWidget
(package private) int
(package private) final RealmsServer
private final int
private static final String
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
ADVENTURE_MAPS_IN_1_9_URL, field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33055, field_33056, field_33057, field_33060, field_33061, field_33062, field_33063, field_33064, field_39676, MAX_FILE_SIZE, RED, WHITE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRealmsBackupScreen
(RealmsConfigureWorldScreen parent, RealmsServer serverData, int slotId) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addToChangeList
(Backup backup, String key) private void
private void
(package private) void
void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) protected void
renderMousehoverTooltip
(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY) private void
restore()
(package private) void
restoreClicked
(int selectedBackup) private boolean
private boolean
(package private) void
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lejr;a:Lorg/slf4j/Logger;
intermediary field_19741
Lnet/minecraft/class_4381;field_19741:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;LOGGER:Lorg/slf4j/Logger;
-
PLUS_ICON
- Mappings:
Namespace Name Mixin selector official b
Lejr;b:Ladd;
intermediary field_22686
Lnet/minecraft/class_4381;field_22686:Lnet/minecraft/class_2960;
named PLUS_ICON
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;PLUS_ICON:Lnet/minecraft/util/Identifier;
-
RESTORE_ICON
- Mappings:
Namespace Name Mixin selector official c
Lejr;c:Ladd;
intermediary field_22687
Lnet/minecraft/class_4381;field_22687:Lnet/minecraft/class_2960;
named RESTORE_ICON
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;RESTORE_ICON:Lnet/minecraft/util/Identifier;
-
RESTORE_TEXT
- Mappings:
Namespace Name Mixin selector official J
Lejr;J:Ltj;
intermediary field_26471
Lnet/minecraft/class_4381;field_26471:Lnet/minecraft/class_2561;
named RESTORE_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;RESTORE_TEXT:Lnet/minecraft/text/Text;
-
CHANGES_TOOLTIP
- Mappings:
Namespace Name Mixin selector official K
Lejr;K:Ltj;
intermediary field_26472
Lnet/minecraft/class_4381;field_26472:Lnet/minecraft/class_2561;
named CHANGES_TOOLTIP
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;CHANGES_TOOLTIP:Lnet/minecraft/text/Text;
-
BACKUPS_TEXT
- Mappings:
Namespace Name Mixin selector official L
Lejr;L:Ltj;
intermediary field_26473
Lnet/minecraft/class_4381;field_26473:Lnet/minecraft/class_2561;
named BACKUPS_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;BACKUPS_TEXT:Lnet/minecraft/text/Text;
-
NO_BACKUPS_TEXT
- Mappings:
Namespace Name Mixin selector official M
Lejr;M:Ltj;
intermediary field_26474
Lnet/minecraft/class_4381;field_26474:Lnet/minecraft/class_2561;
named NO_BACKUPS_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;NO_BACKUPS_TEXT:Lnet/minecraft/text/Text;
-
lastScrollPosition
static int lastScrollPosition- Mappings:
Namespace Name Mixin selector official N
Lejr;N:I
intermediary field_19742
Lnet/minecraft/class_4381;field_19742:I
named lastScrollPosition
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;lastScrollPosition:I
-
UPLOADED
- See Also:
- Mappings:
Namespace Name Mixin selector official Z
Lejr;Z:Ljava/lang/String;
intermediary field_32119
Lnet/minecraft/class_4381;field_32119:Ljava/lang/String;
named UPLOADED
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;UPLOADED:Ljava/lang/String;
-
parent
- Mappings:
Namespace Name Mixin selector official O
Lejr;O:Leju;
intermediary field_19743
Lnet/minecraft/class_4381;field_19743:Lnet/minecraft/class_4388;
named parent
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
-
backups
- Mappings:
Namespace Name Mixin selector official P
Lejr;P:Ljava/util/List;
intermediary field_19744
Lnet/minecraft/class_4381;field_19744:Ljava/util/List;
named backups
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;backups:Ljava/util/List;
-
tooltip
- Mappings:
Namespace Name Mixin selector official Q
Lejr;Q:Ltj;
intermediary field_19745
Lnet/minecraft/class_4381;field_19745:Lnet/minecraft/class_2561;
named tooltip
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;tooltip:Lnet/minecraft/text/Text;
-
backupObjectSelectionList
RealmsBackupScreen.BackupObjectSelectionList backupObjectSelectionList- Mappings:
Namespace Name Mixin selector official R
Lejr;R:Lejr$a;
intermediary field_19746
Lnet/minecraft/class_4381;field_19746:Lnet/minecraft/class_4381$class_4382;
named backupObjectSelectionList
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;backupObjectSelectionList:Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionList;
-
selectedBackup
int selectedBackup- Mappings:
Namespace Name Mixin selector official S
Lejr;S:I
intermediary field_19747
Lnet/minecraft/class_4381;field_19747:I
named selectedBackup
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;selectedBackup:I
-
slotId
private final int slotId- Mappings:
Namespace Name Mixin selector official T
Lejr;T:I
intermediary field_19748
Lnet/minecraft/class_4381;field_19748:I
named slotId
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;slotId:I
-
downloadButton
- Mappings:
Namespace Name Mixin selector official U
Lejr;U:Leoc;
intermediary field_19749
Lnet/minecraft/class_4381;field_19749:Lnet/minecraft/class_4185;
named downloadButton
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;downloadButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
restoreButton
- Mappings:
Namespace Name Mixin selector official V
Lejr;V:Leoc;
intermediary field_19750
Lnet/minecraft/class_4381;field_19750:Lnet/minecraft/class_4185;
named restoreButton
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;restoreButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
changesButton
- Mappings:
Namespace Name Mixin selector official W
Lejr;W:Leoc;
intermediary field_19751
Lnet/minecraft/class_4381;field_19751:Lnet/minecraft/class_4185;
named changesButton
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;changesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
noBackups
Boolean noBackups- Mappings:
Namespace Name Mixin selector official X
Lejr;X:Ljava/lang/Boolean;
intermediary field_19752
Lnet/minecraft/class_4381;field_19752:Ljava/lang/Boolean;
named noBackups
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;noBackups:Ljava/lang/Boolean;
-
serverData
- Mappings:
Namespace Name Mixin selector official Y
Lejr;Y:Leik;
intermediary field_19753
Lnet/minecraft/class_4381;field_19753:Lnet/minecraft/class_4877;
named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
-
Constructor Details
-
RealmsBackupScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lejr;<init>(Leju;Leik;I)V
intermediary <init>
Lnet/minecraft/class_4381;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4877;I)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsServer;I)V
-
-
Method Details
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused. -
generateChangeList
void generateChangeList()- Mappings:
Namespace Name Mixin selector official B
Lejr;B()V
intermediary method_21154
Lnet/minecraft/class_4381;method_21154()V
named generateChangeList
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;generateChangeList()V
-
addToChangeList
- Mappings:
Namespace Name Mixin selector official a
Lejr;a(Lehz;Ljava/lang/String;)V
intermediary method_21147
Lnet/minecraft/class_4381;method_21147(Lnet/minecraft/class_4867;Ljava/lang/String;)V
named addToChangeList
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;addToChangeList(Lnet/minecraft/client/realms/dto/Backup;Ljava/lang/String;)V
-
updateButtonStates
void updateButtonStates()- Mappings:
Namespace Name Mixin selector official C
Lejr;C()V
intermediary method_21160
Lnet/minecraft/class_4381;method_21160()V
named updateButtonStates
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;updateButtonStates()V
-
shouldChangesButtonBeVisible
private boolean shouldChangesButtonBeVisible()- Mappings:
Namespace Name Mixin selector official D
Lejr;D()Z
intermediary method_21162
Lnet/minecraft/class_4381;method_21162()Z
named shouldChangesButtonBeVisible
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;shouldChangesButtonBeVisible()Z
-
shouldRestoreButtonBeVisible
private boolean shouldRestoreButtonBeVisible()- Mappings:
Namespace Name Mixin selector official E
Lejr;E()Z
intermediary method_21164
Lnet/minecraft/class_4381;method_21164()Z
named shouldRestoreButtonBeVisible
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;shouldRestoreButtonBeVisible()Z
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lepl;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
restoreClicked
void restoreClicked(int selectedBackup) - Mappings:
Namespace Name Mixin selector official a
Lejr;a(I)V
intermediary method_21155
Lnet/minecraft/class_4381;method_21155(I)V
named restoreClicked
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;restoreClicked(I)V
-
downloadClicked
private void downloadClicked()- Mappings:
Namespace Name Mixin selector official F
Lejr;F()V
intermediary method_21166
Lnet/minecraft/class_4381;method_21166()V
named downloadClicked
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;downloadClicked()V
-
downloadWorldData
private void downloadWorldData()- Mappings:
Namespace Name Mixin selector official G
Lejr;G()V
intermediary method_21168
Lnet/minecraft/class_4381;method_21168()V
named downloadWorldData
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;downloadWorldData()V
-
restore
private void restore()- Mappings:
Namespace Name Mixin selector official H
Lejr;H()V
intermediary method_21170
Lnet/minecraft/class_4381;method_21170()V
named restore
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;restore()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lepa;a(Lehe;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderMousehoverTooltip
protected void renderMousehoverTooltip(MatrixStack matrices, @Nullable @Nullable Text text, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official a
Lejr;a(Lehe;Ltj;II)V
intermediary method_21153
Lnet/minecraft/class_4381;method_21153(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)V
named renderMousehoverTooltip
Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;renderMousehoverTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-