Class MultiplayerWarningScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.multiplayer.MultiplayerWarningScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class MultiplayerWarningScreen extends Screen
- Mappings:
Namespace Name official dxrintermediary net/minecraft/class_4749named net/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen
-
Field Summary
Fields Modifier and Type Field Description private static TextCHECK_MESSAGEprivate CheckboxWidgetcheckboxprivate static TextHEADERprivate MultilineTextlinesprivate static TextMESSAGEprivate Screenparentprivate static TextPROCEED_TEXTFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description MultiplayerWarningScreen(Screen parent) -
Method Summary
Modifier and Type Method Description StringgetNarrationMessage()protected voidinit()Called when a screen should be initialized.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, 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 bLdxr;b:Loi;intermediary field_21843Lnet/minecraft/class_4749;field_21843:Lnet/minecraft/class_2561;named HEADERLnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;HEADER:Lnet/minecraft/text/Text;
-
MESSAGE
- Mappings:
Namespace Name Mixin selector official cLdxr;c:Loi;intermediary field_21844Lnet/minecraft/class_4749;field_21844:Lnet/minecraft/class_2561;named MESSAGELnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;MESSAGE:Lnet/minecraft/text/Text;
-
CHECK_MESSAGE
- Mappings:
Namespace Name Mixin selector official pLdxr;p:Loi;intermediary field_21845Lnet/minecraft/class_4749;field_21845:Lnet/minecraft/class_2561;named CHECK_MESSAGELnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;CHECK_MESSAGE:Lnet/minecraft/text/Text;
-
PROCEED_TEXT
- Mappings:
Namespace Name Mixin selector official qLdxr;q:Loi;intermediary field_21846Lnet/minecraft/class_4749;field_21846:Lnet/minecraft/class_2561;named PROCEED_TEXTLnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;PROCEED_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official aLdxr;a:Ldve;intermediary field_21842Lnet/minecraft/class_4749;field_21842:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
checkbox
- Mappings:
Namespace Name Mixin selector official rLdxr;r:Ldrw;intermediary field_21848Lnet/minecraft/class_4749;field_21848:Lnet/minecraft/class_4286;named checkboxLnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;
-
lines
- Mappings:
Namespace Name Mixin selector official sLdxr;s:Ldsg;intermediary field_21849Lnet/minecraft/class_4749;field_21849:Lnet/minecraft/class_5489;named linesLnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;lines:Lnet/minecraft/client/font/MultilineText;
-
-
Constructor Details
-
MultiplayerWarningScreen
- Mappings:
Namespace Name Mixin selector official <init>Ldxr;<init>(Ldve;)Vintermediary <init>Lnet/minecraft/class_4749;<init>(Lnet/minecraft/class_437;)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen- Mappings:
Namespace Name Mixin selector official ax_Ldve;ax_()Ljava/lang/String;intermediary method_25435Lnet/minecraft/class_437;method_25435()Ljava/lang/String;named getNarrationMessageLnet/minecraft/client/gui/screen/Screen;getNarrationMessage()Ljava/lang/String;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdsq;a(Ldlr;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
-