Package net.minecraft.client.gui.screen
Class WarningScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.WarningScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Direct Known Subclasses:
ChatPreviewWarningScreen
,ChatReportScreen.DiscardWarningScreen
,MultiplayerWarningScreen
,Realms32BitWarningScreen
- Mappings:
Namespace Name official eof
intermediary net/minecraft/class_7065
named net/minecraft/client/gui/screen/WarningScreen
-
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 final Text
private MultilineText
private final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
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 void
drawTitle
(MatrixStack matrices) protected int
protected void
init()
Called when a screen should be initialized.protected abstract void
initButtons
(int yOffset) void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
message
- Mappings:
Namespace Name Mixin selector official b
Leof;b:Lrq;
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
Leof;c:Lrq;
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 n
Leof;n:Lrq;
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
Leof;a:Lehr;
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 o
Leof;o:Leic;
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>
Leof;<init>(Lrq;Lrq;Lrq;)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
-
WarningScreen
protected WarningScreen(Text header, Text message, @Nullable @Nullable Text checkMessage, Text narratedText) - Mappings:
Namespace Name Mixin selector official <init>
Leof;<init>(Lrq;Lrq;Lrq;Lrq;)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
-
initButtons
protected abstract void initButtons(int yOffset) - Mappings:
Namespace Name Mixin selector official a
Leof;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
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official ae_
Lelm;ae_()Lrq;
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:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- 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
-
drawTitle
- Mappings:
Namespace Name Mixin selector official b
Leof;b(Leaq;)V
intermediary method_44663
Lnet/minecraft/class_7065;method_44663(Lnet/minecraft/class_4587;)V
named drawTitle
Lnet/minecraft/client/gui/screen/WarningScreen;drawTitle(Lnet/minecraft/client/util/math/MatrixStack;)V
-
getLineHeight
protected int getLineHeight()- Mappings:
Namespace Name Mixin selector official g
Leof;g()I
intermediary method_44068
Lnet/minecraft/class_7065;method_44068()I
named getLineHeight
Lnet/minecraft/client/gui/screen/WarningScreen;getLineHeight()I
-