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:
CodeOfConductScreen,MultiplayerWarningScreen,ReportScreen.DiscardWarningScreen
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/WarningScreenintermediary net/minecraft/class_7065official gtd
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable CheckboxWidgetprivate static final intprivate final Textprivate final Textprivate final SimplePositioningWidgetprivate @Nullable ScrollableTextWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedWarningScreen(Text header, Text message, Text narratedText) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract LayoutWidgetprotected voidinit()Called when a screen should be initialized.protected voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, close, deferSubtitles, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, 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, isClickable, 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
-
field_49538
private static final int field_49538- See Also:
- Mappings:
Namespace Name Mixin selector named field_49538Lnet/minecraft/client/gui/screen/WarningScreen;field_49538:Iintermediary field_49538Lnet/minecraft/class_7065;field_49538:Iofficial bLgtd;b:I
-
messageText
- Mappings:
Namespace Name Mixin selector named messageTextLnet/minecraft/client/gui/screen/WarningScreen;messageText:Lnet/minecraft/text/Text;intermediary field_37222Lnet/minecraft/class_7065;field_37222:Lnet/minecraft/class_2561;official cLgtd;c:Lym;
-
checkMessage
- Mappings:
Namespace Name Mixin selector named checkMessageLnet/minecraft/client/gui/screen/WarningScreen;checkMessage:Lnet/minecraft/text/Text;intermediary field_37220Lnet/minecraft/class_7065;field_37220:Lnet/minecraft/class_2561;official dLgtd;d:Lym;
-
narratedText
- Mappings:
Namespace Name Mixin selector named narratedTextLnet/minecraft/client/gui/screen/WarningScreen;narratedText:Lnet/minecraft/text/Text;intermediary field_37221Lnet/minecraft/class_7065;field_37221:Lnet/minecraft/class_2561;official eLgtd;e:Lym;
-
checkbox
- Mappings:
Namespace Name Mixin selector named checkboxLnet/minecraft/client/gui/screen/WarningScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;intermediary field_37217Lnet/minecraft/class_7065;field_37217:Lnet/minecraft/class_4286;official aLgtd;a:Lggs;
-
textWidget
- Mappings:
Namespace Name Mixin selector named textWidgetLnet/minecraft/client/gui/screen/WarningScreen;textWidget:Lnet/minecraft/client/gui/widget/ScrollableTextWidget;intermediary field_49539Lnet/minecraft/class_7065;field_49539:Lnet/minecraft/class_8577;official fLgtd;f:Lgha;
-
positioningWidget
- Mappings:
Namespace Name Mixin selector named positioningWidgetLnet/minecraft/client/gui/screen/WarningScreen;positioningWidget:Lnet/minecraft/client/gui/widget/SimplePositioningWidget;intermediary field_49540Lnet/minecraft/class_7065;field_49540:Lnet/minecraft/class_7843;official tLgtd;t:Lgme;
-
-
Constructor Details
-
WarningScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/WarningScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_7065;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Vofficial <init>Lgtd;<init>(Lym;Lym;Lym;)V
-
WarningScreen
protected WarningScreen(Text header, Text messageText, @Nullable @Nullable Text checkMessage, Text narratedText) - Mappings:
Namespace Name Mixin selector 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;)Vintermediary <init>Lnet/minecraft/class_7065;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Vofficial <init>Lgtd;<init>(Lym;Lym;Lym;Lym;)V
-
-
Method Details
-
getLayout
- Mappings:
Namespace Name Mixin selector named getLayoutLnet/minecraft/client/gui/screen/WarningScreen;getLayout()Lnet/minecraft/client/gui/widget/LayoutWidget;intermediary method_57750Lnet/minecraft/class_7065;method_57750()Lnet/minecraft/class_8133;official oLgtd;o()Lgmh;
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgpn;c()V
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLgpn;i()Lym;
-