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,ParentElement
- Mappings:
Namespace Name official ehcintermediary net/minecraft/class_4381named net/minecraft/client/realms/gui/screen/RealmsBackupScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescription(package private) RealmsBackupScreen.BackupObjectSelectionListprivate static final Text(package private) static final Textprivate ButtonWidgetprivate ButtonWidget(package private) static int(package private) static final Loggerprivate static final Text(package private) Booleanprivate final RealmsConfigureWorldScreen(package private) static final Identifier(package private) static final Identifier(package private) static final Textprivate ButtonWidget(package private) int(package private) final RealmsServerprivate final intprivate static final StringFields 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, WHITEFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionRealmsBackupScreen(RealmsConfigureWorldScreen parent, RealmsServer serverData, int slotId) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddToChangeList(Backup backup, String key) private voidprivate void(package private) voidvoidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) protected voidrenderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY) private voidrestore()(package private) voidrestoreClicked(int selectedBackup) private booleanprivate boolean(package private) voidMethods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, rowMethods 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, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, method_48202, method_48262, method_48263, method_48265, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48196, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, isFocused, keyReleased, method_48205, method_48218, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLehc;a:Lorg/slf4j/Logger;intermediary field_19741Lnet/minecraft/class_4381;field_19741:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;LOGGER:Lorg/slf4j/Logger;
-
PLUS_ICON
- Mappings:
Namespace Name Mixin selector official bLehc;b:Lacm;intermediary field_22686Lnet/minecraft/class_4381;field_22686:Lnet/minecraft/class_2960;named PLUS_ICONLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;PLUS_ICON:Lnet/minecraft/util/Identifier;
-
RESTORE_ICON
- Mappings:
Namespace Name Mixin selector official cLehc;c:Lacm;intermediary field_22687Lnet/minecraft/class_4381;field_22687:Lnet/minecraft/class_2960;named RESTORE_ICONLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;RESTORE_ICON:Lnet/minecraft/util/Identifier;
-
RESTORE_TEXT
- Mappings:
Namespace Name Mixin selector official ILehc;I:Lsu;intermediary field_26471Lnet/minecraft/class_4381;field_26471:Lnet/minecraft/class_2561;named RESTORE_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;RESTORE_TEXT:Lnet/minecraft/text/Text;
-
CHANGES_TOOLTIP
- Mappings:
Namespace Name Mixin selector official JLehc;J:Lsu;intermediary field_26472Lnet/minecraft/class_4381;field_26472:Lnet/minecraft/class_2561;named CHANGES_TOOLTIPLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;CHANGES_TOOLTIP:Lnet/minecraft/text/Text;
-
BACKUPS_TEXT
- Mappings:
Namespace Name Mixin selector official KLehc;K:Lsu;intermediary field_26473Lnet/minecraft/class_4381;field_26473:Lnet/minecraft/class_2561;named BACKUPS_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;BACKUPS_TEXT:Lnet/minecraft/text/Text;
-
NO_BACKUPS_TEXT
- Mappings:
Namespace Name Mixin selector official LLehc;L:Lsu;intermediary field_26474Lnet/minecraft/class_4381;field_26474:Lnet/minecraft/class_2561;named NO_BACKUPS_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;NO_BACKUPS_TEXT:Lnet/minecraft/text/Text;
-
lastScrollPosition
static int lastScrollPosition- Mappings:
Namespace Name Mixin selector official MLehc;M:Iintermediary field_19742Lnet/minecraft/class_4381;field_19742:Inamed lastScrollPositionLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;lastScrollPosition:I
-
UPLOADED
- See Also:
- Mappings:
Namespace Name Mixin selector official YLehc;Y:Ljava/lang/String;intermediary field_32119Lnet/minecraft/class_4381;field_32119:Ljava/lang/String;named UPLOADEDLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;UPLOADED:Ljava/lang/String;
-
parent
- Mappings:
Namespace Name Mixin selector official NLehc;N:Lehf;intermediary field_19743Lnet/minecraft/class_4381;field_19743:Lnet/minecraft/class_4388;named parentLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
-
backups
- Mappings:
Namespace Name Mixin selector official OLehc;O:Ljava/util/List;intermediary field_19744Lnet/minecraft/class_4381;field_19744:Ljava/util/List;named backupsLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;backups:Ljava/util/List;
-
tooltip
- Mappings:
Namespace Name Mixin selector official PLehc;P:Lsu;intermediary field_19745Lnet/minecraft/class_4381;field_19745:Lnet/minecraft/class_2561;named tooltipLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;tooltip:Lnet/minecraft/text/Text;
-
backupObjectSelectionList
RealmsBackupScreen.BackupObjectSelectionList backupObjectSelectionList- Mappings:
Namespace Name Mixin selector official QLehc;Q:Lehc$a;intermediary field_19746Lnet/minecraft/class_4381;field_19746:Lnet/minecraft/class_4381$class_4382;named backupObjectSelectionListLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;backupObjectSelectionList:Lnet/minecraft/client/realms/gui/screen/RealmsBackupScreen$BackupObjectSelectionList;
-
selectedBackup
int selectedBackup- Mappings:
Namespace Name Mixin selector official RLehc;R:Iintermediary field_19747Lnet/minecraft/class_4381;field_19747:Inamed selectedBackupLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;selectedBackup:I
-
slotId
private final int slotId- Mappings:
Namespace Name Mixin selector official SLehc;S:Iintermediary field_19748Lnet/minecraft/class_4381;field_19748:Inamed slotIdLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;slotId:I
-
downloadButton
- Mappings:
Namespace Name Mixin selector official TLehc;T:Lelm;intermediary field_19749Lnet/minecraft/class_4381;field_19749:Lnet/minecraft/class_4185;named downloadButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;downloadButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
restoreButton
- Mappings:
Namespace Name Mixin selector official ULehc;U:Lelm;intermediary field_19750Lnet/minecraft/class_4381;field_19750:Lnet/minecraft/class_4185;named restoreButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;restoreButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
changesButton
- Mappings:
Namespace Name Mixin selector official VLehc;V:Lelm;intermediary field_19751Lnet/minecraft/class_4381;field_19751:Lnet/minecraft/class_4185;named changesButtonLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;changesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
noBackups
Boolean noBackups- Mappings:
Namespace Name Mixin selector official WLehc;W:Ljava/lang/Boolean;intermediary field_19752Lnet/minecraft/class_4381;field_19752:Ljava/lang/Boolean;named noBackupsLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;noBackups:Ljava/lang/Boolean;
-
serverData
- Mappings:
Namespace Name Mixin selector official XLehc;X:Lefw;intermediary field_19753Lnet/minecraft/class_4381;field_19753:Lnet/minecraft/class_4877;named serverDataLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
-
Constructor Details
-
RealmsBackupScreen
- Mappings:
Namespace Name Mixin selector official <init>Lehc;<init>(Lehf;Lefw;I)Vintermediary <init>Lnet/minecraft/class_4381;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4877;I)Vnamed <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.
-
generateChangeList
void generateChangeList()- Mappings:
Namespace Name Mixin selector official zLehc;z()Vintermediary method_21154Lnet/minecraft/class_4381;method_21154()Vnamed generateChangeListLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;generateChangeList()V
-
addToChangeList
- Mappings:
Namespace Name Mixin selector official aLehc;a(Lefm;Ljava/lang/String;)Vintermediary method_21147Lnet/minecraft/class_4381;method_21147(Lnet/minecraft/class_4867;Ljava/lang/String;)Vnamed addToChangeListLnet/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 ALehc;A()Vintermediary method_21160Lnet/minecraft/class_4381;method_21160()Vnamed updateButtonStatesLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;updateButtonStates()V
-
shouldChangesButtonBeVisible
private boolean shouldChangesButtonBeVisible()- Mappings:
Namespace Name Mixin selector official BLehc;B()Zintermediary method_21162Lnet/minecraft/class_4381;method_21162()Znamed shouldChangesButtonBeVisibleLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;shouldChangesButtonBeVisible()Z
-
shouldRestoreButtonBeVisible
private boolean shouldRestoreButtonBeVisible()- Mappings:
Namespace Name Mixin selector official CLehc;C()Zintermediary method_21164Lnet/minecraft/class_4381;method_21164()Znamed shouldRestoreButtonBeVisibleLnet/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 inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- 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:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLemq;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
restoreClicked
void restoreClicked(int selectedBackup) - Mappings:
Namespace Name Mixin selector official aLehc;a(I)Vintermediary method_21155Lnet/minecraft/class_4381;method_21155(I)Vnamed restoreClickedLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;restoreClicked(I)V
-
downloadClicked
private void downloadClicked()- Mappings:
Namespace Name Mixin selector official DLehc;D()Vintermediary method_21166Lnet/minecraft/class_4381;method_21166()Vnamed downloadClickedLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;downloadClicked()V
-
downloadWorldData
private void downloadWorldData()- Mappings:
Namespace Name Mixin selector official ELehc;E()Vintermediary method_21168Lnet/minecraft/class_4381;method_21168()Vnamed downloadWorldDataLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;downloadWorldData()V
-
restore
private void restore()- Mappings:
Namespace Name Mixin selector official FLehc;F()Vintermediary method_21170Lnet/minecraft/class_4381;method_21170()Vnamed restoreLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;restore()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLemj;a(Leer;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/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 aLehc;a(Leer;Lsu;II)Vintermediary method_21153Lnet/minecraft/class_4381;method_21153(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)Vnamed renderMousehoverTooltipLnet/minecraft/client/realms/gui/screen/RealmsBackupScreen;renderMousehoverTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-