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:
MultiplayerWarningScreen
,ReportScreen.DiscardWarningScreen
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/WarningScreen
intermediary net/minecraft/class_7065
official fws
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprotected @Nullable CheckboxWidget
private static final int
private final Text
private final Text
private final SimplePositioningWidget
private @Nullable NarratedMultilineTextWidget
Fields 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, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
WarningScreen
(Text header, Text message, Text narratedText) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract LayoutWidget
protected void
init()
Called when a screen should be initialized.protected void
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, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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_49538
Lnet/minecraft/client/gui/screen/WarningScreen;field_49538:I
intermediary field_49538
Lnet/minecraft/class_7065;field_49538:I
official b
Lfws;b:I
-
messageText
- Mappings:
Namespace Name Mixin selector named messageText
Lnet/minecraft/client/gui/screen/WarningScreen;messageText:Lnet/minecraft/text/Text;
intermediary field_37222
Lnet/minecraft/class_7065;field_37222:Lnet/minecraft/class_2561;
official c
Lfws;c:Lxv;
-
checkMessage
- Mappings:
Namespace Name Mixin selector named checkMessage
Lnet/minecraft/client/gui/screen/WarningScreen;checkMessage:Lnet/minecraft/text/Text;
intermediary field_37220
Lnet/minecraft/class_7065;field_37220:Lnet/minecraft/class_2561;
official d
Lfws;d:Lxv;
-
narratedText
- Mappings:
Namespace Name Mixin selector named narratedText
Lnet/minecraft/client/gui/screen/WarningScreen;narratedText:Lnet/minecraft/text/Text;
intermediary field_37221
Lnet/minecraft/class_7065;field_37221:Lnet/minecraft/class_2561;
official s
Lfws;s:Lxv;
-
checkbox
- Mappings:
Namespace Name Mixin selector named checkbox
Lnet/minecraft/client/gui/screen/WarningScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;
intermediary field_37217
Lnet/minecraft/class_7065;field_37217:Lnet/minecraft/class_4286;
official a
Lfws;a:Lfog;
-
textWidget
- Mappings:
Namespace Name Mixin selector named textWidget
Lnet/minecraft/client/gui/screen/WarningScreen;textWidget:Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;
intermediary field_49539
Lnet/minecraft/class_7065;field_49539:Lnet/minecraft/class_8019;
official u
Lfws;u:Lfop;
-
positioningWidget
- Mappings:
Namespace Name Mixin selector named positioningWidget
Lnet/minecraft/client/gui/screen/WarningScreen;positioningWidget:Lnet/minecraft/client/gui/widget/SimplePositioningWidget;
intermediary field_49540
Lnet/minecraft/class_7065;field_49540:Lnet/minecraft/class_7843;
official v
Lfws;v:Lfrr;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_7065;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
official <init>
Lfws;<init>(Lxv;Lxv;Lxv;)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;)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
official <init>
Lfws;<init>(Lxv;Lxv;Lxv;Lxv;)V
-
-
Method Details
-
getLayout
- Mappings:
Namespace Name Mixin selector named getLayout
Lnet/minecraft/client/gui/screen/WarningScreen;getLayout()Lnet/minecraft/client/gui/widget/LayoutWidget;
intermediary method_57750
Lnet/minecraft/class_7065;method_57750()Lnet/minecraft/class_8133;
official l
Lfws;l()Lfru;
-
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:
refreshWidgetPositions
in classScreen
- Mappings:
Namespace Name Mixin selector named refreshWidgetPositions
Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
intermediary method_48640
Lnet/minecraft/class_437;method_48640()V
official c
Lftx;c()V
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
official i
Lftx;i()Lxv;
-