Package net.minecraft.client.gui.screen
Class WarningScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.WarningScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Direct Known Subclasses:
- ChatReportScreen.DiscardWarningScreen,- MultiplayerWarningScreen,- Realms32BitWarningScreen
- Mappings:
- Namespace - Name - official - exr- intermediary - net/minecraft/class_7065- named - net/minecraft/client/gui/screen/WarningScreen
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected @Nullable CheckboxWidgetprivate final Textprivate MultilineTextprivate final TextFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotectedWarningScreen(Text header, Text message, Text narratedText) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddrawTitle(DrawContext context) protected intprotected voidinit()Called when a screen should be initialized.protected abstract voidinitButtons(int yOffset) voidrender(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods 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.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
message- Mappings:
- Namespace - Name - Mixin selector - official - b- Lexr;b:Lsw;- intermediary - field_37219- Lnet/minecraft/class_7065;field_37219:Lnet/minecraft/class_2561;- named - message- Lnet/minecraft/client/gui/screen/WarningScreen;message:Lnet/minecraft/text/Text;
 
- 
checkMessage- Mappings:
- Namespace - Name - Mixin selector - official - c- Lexr;c:Lsw;- intermediary - field_37220- Lnet/minecraft/class_7065;field_37220:Lnet/minecraft/class_2561;- named - checkMessage- Lnet/minecraft/client/gui/screen/WarningScreen;checkMessage:Lnet/minecraft/text/Text;
 
- 
narratedText- Mappings:
- Namespace - Name - Mixin selector - official - k- Lexr;k:Lsw;- intermediary - field_37221- Lnet/minecraft/class_7065;field_37221:Lnet/minecraft/class_2561;- named - narratedText- Lnet/minecraft/client/gui/screen/WarningScreen;narratedText:Lnet/minecraft/text/Text;
 
- 
checkbox- Mappings:
- Namespace - Name - Mixin selector - official - a- Lexr;a:Lepk;- intermediary - field_37217- Lnet/minecraft/class_7065;field_37217:Lnet/minecraft/class_4286;- named - checkbox- Lnet/minecraft/client/gui/screen/WarningScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;
 
- 
messageText- Mappings:
- Namespace - Name - Mixin selector - official - l- Lexr;l:Lepz;- intermediary - field_37222- Lnet/minecraft/class_7065;field_37222:Lnet/minecraft/class_5489;- named - messageText- Lnet/minecraft/client/gui/screen/WarningScreen;messageText:Lnet/minecraft/client/font/MultilineText;
 
 
- 
- 
Constructor Details- 
WarningScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lexr;<init>(Lsw;Lsw;Lsw;)V- intermediary - <init>- Lnet/minecraft/class_7065;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V- named - <init>- Lnet/minecraft/client/gui/screen/WarningScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
 
- 
WarningScreenprotected WarningScreen(Text header, Text message, @Nullable @Nullable Text checkMessage, Text narratedText) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lexr;<init>(Lsw;Lsw;Lsw;Lsw;)V- intermediary - <init>- Lnet/minecraft/class_7065;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V- named - <init>- Lnet/minecraft/client/gui/screen/WarningScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
 
 
- 
- 
Method Details- 
initButtonsprotected abstract void initButtons(int yOffset) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lexr;a(I)V- intermediary - method_41160- Lnet/minecraft/class_7065;method_41160(I)V- named - initButtons- Lnet/minecraft/client/gui/screen/WarningScreen;initButtons(I)V
 
- 
initprotected 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.
- 
getNarratedTitle- Overrides:
- getNarratedTitlein class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - au_- Leuq;au_()Lsw;- intermediary - method_25435- Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;- named - getNarratedTitle- Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
drawTitle- Mappings:
- Namespace - Name - Mixin selector - official - c- Lexr;c(Leox;)V- intermediary - method_44663- Lnet/minecraft/class_7065;method_44663(Lnet/minecraft/class_332;)V- named - drawTitle- Lnet/minecraft/client/gui/screen/WarningScreen;drawTitle(Lnet/minecraft/client/gui/DrawContext;)V
 
- 
getLineHeightprotected int getLineHeight()- Mappings:
- Namespace - Name - Mixin selector - official - l- Lexr;l()I- intermediary - method_44068- Lnet/minecraft/class_7065;method_44068()I- named - getLineHeight- Lnet/minecraft/client/gui/screen/WarningScreen;getLineHeight()I
 
 
-