Class BackupPromptScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.BackupPromptScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/BackupPromptScreenintermediary net/minecraft/class_405official fyk
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BackupPromptScreen.Callbackstatic final Textprivate CheckboxWidgetprotected int(package private) final Textprivate final Runnableprivate final booleanprivate static final Textprivate final Textprivate MultilineTextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionBackupPromptScreen(Runnable onCancel, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckbox) BackupPromptScreen(Runnable onCancel, BackupPromptScreen.Callback callback, Text title, Text subtitle, Text firstButtonText, boolean showEraseCacheCheckbox) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()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(DrawContext context, int mouseX, int mouseY, float deltaTicks) booleanChecks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, 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.Element
getBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
SKIP_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector named SKIP_BUTTON_TEXTLnet/minecraft/client/gui/screen/world/BackupPromptScreen;SKIP_BUTTON_TEXT:Lnet/minecraft/text/Text;intermediary field_52796Lnet/minecraft/class_405;field_52796:Lnet/minecraft/class_2561;official sLfyk;s:Lxg;
-
CONFIRM_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector named CONFIRM_BUTTON_TEXTLnet/minecraft/client/gui/screen/world/BackupPromptScreen;CONFIRM_BUTTON_TEXT:Lnet/minecraft/text/Text;intermediary field_52794Lnet/minecraft/class_405;field_52794:Lnet/minecraft/class_2561;official aLfyk;a:Lxg;
-
onCancel
- Mappings:
Namespace Name Mixin selector named onCancelLnet/minecraft/client/gui/screen/world/BackupPromptScreen;onCancel:Ljava/lang/Runnable;intermediary field_46858Lnet/minecraft/class_405;field_46858:Ljava/lang/Runnable;official uLfyk;u:Ljava/lang/Runnable;
-
callback
- Mappings:
Namespace Name Mixin selector named callbackLnet/minecraft/client/gui/screen/world/BackupPromptScreen;callback:Lnet/minecraft/client/gui/screen/world/BackupPromptScreen$Callback;intermediary field_46857Lnet/minecraft/class_405;field_46857:Lnet/minecraft/class_405$class_406;official bLfyk;b:Lfyk$a;
-
subtitle
- Mappings:
Namespace Name Mixin selector named subtitleLnet/minecraft/client/gui/screen/world/BackupPromptScreen;subtitle:Lnet/minecraft/text/Text;intermediary field_2364Lnet/minecraft/class_405;field_2364:Lnet/minecraft/class_2561;official vLfyk;v:Lxg;
-
showEraseCacheCheckbox
private final boolean showEraseCacheCheckbox- Mappings:
Namespace Name Mixin selector named showEraseCacheCheckboxLnet/minecraft/client/gui/screen/world/BackupPromptScreen;showEraseCacheCheckbox:Zintermediary field_19232Lnet/minecraft/class_405;field_19232:Zofficial wLfyk;w:Z
-
wrappedText
- Mappings:
Namespace Name Mixin selector named wrappedTextLnet/minecraft/client/gui/screen/world/BackupPromptScreen;wrappedText:Lnet/minecraft/client/font/MultilineText;intermediary field_2365Lnet/minecraft/class_405;field_2365:Lnet/minecraft/class_5489;official xLfyk;x:Lfur;
-
firstButtonText
- Mappings:
Namespace Name Mixin selector named firstButtonTextLnet/minecraft/client/gui/screen/world/BackupPromptScreen;firstButtonText:Lnet/minecraft/text/Text;intermediary field_52795Lnet/minecraft/class_405;field_52795:Lnet/minecraft/class_2561;official cLfyk;c:Lxg;
-
field_32236
protected int field_32236- Mappings:
Namespace Name Mixin selector named field_32236Lnet/minecraft/client/gui/screen/world/BackupPromptScreen;field_32236:Iintermediary field_32236Lnet/minecraft/class_405;field_32236:Iofficial dLfyk;d:I
-
eraseCacheCheckbox
- Mappings:
Namespace Name Mixin selector named eraseCacheCheckboxLnet/minecraft/client/gui/screen/world/BackupPromptScreen;eraseCacheCheckbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;intermediary field_19234Lnet/minecraft/class_405;field_19234:Lnet/minecraft/class_4286;official yLfyk;y:Lfua;
-
-
Constructor Details
-
BackupPromptScreen
public BackupPromptScreen(Runnable onCancel, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckbox) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/BackupPromptScreen;<init>(Ljava/lang/Runnable;Lnet/minecraft/client/gui/screen/world/BackupPromptScreen$Callback;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Z)Vintermediary <init>Lnet/minecraft/class_405;<init>(Ljava/lang/Runnable;Lnet/minecraft/class_405$class_406;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Z)Vofficial <init>Lfyk;<init>(Ljava/lang/Runnable;Lfyk$a;Lxg;Lxg;Z)V
-
BackupPromptScreen
public BackupPromptScreen(Runnable onCancel, BackupPromptScreen.Callback callback, Text title, Text subtitle, Text firstButtonText, boolean showEraseCacheCheckbox) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/BackupPromptScreen;<init>(Ljava/lang/Runnable;Lnet/minecraft/client/gui/screen/world/BackupPromptScreen$Callback;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Z)Vintermediary <init>Lnet/minecraft/class_405;<init>(Ljava/lang/Runnable;Lnet/minecraft/class_405$class_406;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Z)Vofficial <init>Lfyk;<init>(Ljava/lang/Runnable;Lfyk$a;Lxg;Lxg;Lxg;Z)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfvb;a(Lftk;IIF)V
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEscin classScreen- Mappings:
Namespace Name Mixin selector named shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial aD_Lfzq;aD_()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 named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfvv;a(III)Z
-