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:
MultiplayerWarningScreen,Realms32BitWarningScreen
- Mappings:
Namespace Name official ejhintermediary net/minecraft/class_7065named 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
FieldsModifier and TypeFieldDescriptionprotected @Nullable CheckboxWidgetprivate final Textprivate final Textprivate final Textprivate MultilineTextprivate final Textprotected final ScreenFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.protected abstract voidinitButtons(int yOffset) voidrender(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, sendMessage, sendMessage, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
header
- Mappings:
Namespace Name Mixin selector official cLejh;c:Lqs;intermediary field_37218Lnet/minecraft/class_7065;field_37218:Lnet/minecraft/class_2561;named headerLnet/minecraft/client/gui/screen/WarningScreen;header:Lnet/minecraft/text/Text;
-
message
- Mappings:
Namespace Name Mixin selector official nLejh;n:Lqs;intermediary field_37219Lnet/minecraft/class_7065;field_37219:Lnet/minecraft/class_2561;named messageLnet/minecraft/client/gui/screen/WarningScreen;message:Lnet/minecraft/text/Text;
-
checkMessage
- Mappings:
Namespace Name Mixin selector official oLejh;o:Lqs;intermediary field_37220Lnet/minecraft/class_7065;field_37220:Lnet/minecraft/class_2561;named checkMessageLnet/minecraft/client/gui/screen/WarningScreen;checkMessage:Lnet/minecraft/text/Text;
-
narratedText
- Mappings:
Namespace Name Mixin selector official pLejh;p:Lqs;intermediary field_37221Lnet/minecraft/class_7065;field_37221:Lnet/minecraft/class_2561;named narratedTextLnet/minecraft/client/gui/screen/WarningScreen;narratedText:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official aLejh;a:Legp;intermediary field_37216Lnet/minecraft/class_7065;field_37216:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/WarningScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
checkbox
- Mappings:
Namespace Name Mixin selector official bLejh;b:Ledb;intermediary field_37217Lnet/minecraft/class_7065;field_37217:Lnet/minecraft/class_4286;named checkboxLnet/minecraft/client/gui/screen/WarningScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;
-
messageText
- Mappings:
Namespace Name Mixin selector official qLejh;q:Ledl;intermediary field_37222Lnet/minecraft/class_7065;field_37222:Lnet/minecraft/class_5489;named messageTextLnet/minecraft/client/gui/screen/WarningScreen;messageText:Lnet/minecraft/client/font/MultilineText;
-
-
Constructor Details
-
WarningScreen
protected WarningScreen(Text header, Text message, Text checkMessage, Text narratedText, Screen parent) - Mappings:
Namespace Name Mixin selector official <init>Lejh;<init>(Lqs;Lqs;Lqs;Lqs;Legp;)Vintermediary <init>Lnet/minecraft/class_7065;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_437;)Vnamed <init>Lnet/minecraft/client/gui/screen/WarningScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/screen/Screen;)V
-
-
Method Details
-
initButtons
protected abstract void initButtons(int yOffset) - Mappings:
Namespace Name Mixin selector official aLejh;a(I)Vintermediary method_41160Lnet/minecraft/class_7065;method_41160(I)Vnamed initButtonsLnet/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:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official ae_Legp;ae_()Lqs;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLedu;a(Ldwd;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-