Package net.minecraft.client.gui.screen
Class BackupPromptScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.BackupPromptScreen
- All Implemented Interfaces:
- Drawable,- Element,- ParentElement
- Mappings:
- Namespace - Name - official - ekd- intermediary - net/minecraft/class_405- named - net/minecraft/client/gui/screen/BackupPromptScreen
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final BackupPromptScreen.Callbackprivate CheckboxWidgetprotected intprivate final Screenprivate final booleanprivate final Textprivate MultilineTextFields inherited from class net.minecraft.client.gui.screen.Screenclient, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelperGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionBackupPromptScreen(Screen parent, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckBox) 
- 
Method SummaryModifier 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(MatrixStack matrices, int mouseX, int mouseY, float delta) booleanChecks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, 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, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelperdisableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElementchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
- 
Field Details- 
parent- Mappings:
- Namespace - Name - Mixin selector - official - c- Lekd;c:Lelm;- intermediary - field_2360- Lnet/minecraft/class_405;field_2360:Lnet/minecraft/class_437;- named - parent- Lnet/minecraft/client/gui/screen/BackupPromptScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
 
- 
callback- Mappings:
- Namespace - Name - Mixin selector - official - a- Lekd;a:Lekd$a;- intermediary - field_18971- Lnet/minecraft/class_405;field_18971:Lnet/minecraft/class_405$class_406;- named - callback- Lnet/minecraft/client/gui/screen/BackupPromptScreen;callback:Lnet/minecraft/client/gui/screen/BackupPromptScreen$Callback;
 
- 
subtitle- Mappings:
- Namespace - Name - Mixin selector - official - n- Lekd;n:Lrq;- intermediary - field_2364- Lnet/minecraft/class_405;field_2364:Lnet/minecraft/class_2561;- named - subtitle- Lnet/minecraft/client/gui/screen/BackupPromptScreen;subtitle:Lnet/minecraft/text/Text;
 
- 
showEraseCacheCheckboxprivate final boolean showEraseCacheCheckbox- Mappings:
- Namespace - Name - Mixin selector - official - o- Lekd;o:Z- intermediary - field_19232- Lnet/minecraft/class_405;field_19232:Z- named - showEraseCacheCheckbox- Lnet/minecraft/client/gui/screen/BackupPromptScreen;showEraseCacheCheckbox:Z
 
- 
wrappedText- Mappings:
- Namespace - Name - Mixin selector - official - p- Lekd;p:Leic;- intermediary - field_2365- Lnet/minecraft/class_405;field_2365:Lnet/minecraft/class_5489;- named - wrappedText- Lnet/minecraft/client/gui/screen/BackupPromptScreen;wrappedText:Lnet/minecraft/client/font/MultilineText;
 
- 
field_32236protected int field_32236- Mappings:
- Namespace - Name - Mixin selector - official - b- Lekd;b:I- intermediary - field_32236- Lnet/minecraft/class_405;field_32236:I- named - field_32236- Lnet/minecraft/client/gui/screen/BackupPromptScreen;field_32236:I
 
- 
eraseCacheCheckbox- Mappings:
- Namespace - Name - Mixin selector - official - q- Lekd;q:Lehr;- intermediary - field_19234- Lnet/minecraft/class_405;field_19234:Lnet/minecraft/class_4286;- named - eraseCacheCheckbox- Lnet/minecraft/client/gui/screen/BackupPromptScreen;eraseCacheCheckbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;
 
 
- 
- 
Constructor Details- 
BackupPromptScreenpublic BackupPromptScreen(Screen parent, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckBox) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lekd;<init>(Lelm;Lekd$a;Lrq;Lrq;Z)V- intermediary - <init>- Lnet/minecraft/class_405;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_405$class_406;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Z)V- named - <init>- Lnet/minecraft/client/gui/screen/BackupPromptScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/gui/screen/BackupPromptScreen$Callback;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Z)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leio;a(Leaq;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
 
- 
shouldCloseOnEscpublic boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
- shouldCloseOnEscin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - af_- Lelm;af_()Z- intermediary - method_25422- Lnet/minecraft/class_437;method_25422()Z- named - shouldCloseOnEsc- Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
 
- 
keyPressedpublic 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 interface- Element
- Specified by:
- keyPressedin interface- ParentElement
- Overrides:
- keyPressedin class- Screen
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- 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 - a- Leir;a(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z
 
 
-