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 dxr
intermediary net/minecraft/class_4749
named net/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen
-
Field Summary
Fields Modifier and Type Field Description private static Text
CHECK_MESSAGE
private CheckboxWidget
checkbox
private static Text
HEADER
private MultilineText
lines
private static Text
MESSAGE
private Screen
parent
private static Text
PROCEED_TEXT
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, 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
-
Constructor Summary
Constructors Constructor Description MultiplayerWarningScreen(Screen parent)
-
Method Summary
Modifier and Type Method Description String
getNarrationMessage()
protected void
init()
Called when a screen should be initialized.void
render(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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods 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, 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
-
HEADER
- Mappings:
Namespace Name Mixin selector official b
Ldxr;b:Loi;
intermediary field_21843
Lnet/minecraft/class_4749;field_21843:Lnet/minecraft/class_2561;
named HEADER
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;HEADER:Lnet/minecraft/text/Text;
-
MESSAGE
- Mappings:
Namespace Name Mixin selector official c
Ldxr;c:Loi;
intermediary field_21844
Lnet/minecraft/class_4749;field_21844:Lnet/minecraft/class_2561;
named MESSAGE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;MESSAGE:Lnet/minecraft/text/Text;
-
CHECK_MESSAGE
- Mappings:
Namespace Name Mixin selector official p
Ldxr;p:Loi;
intermediary field_21845
Lnet/minecraft/class_4749;field_21845:Lnet/minecraft/class_2561;
named CHECK_MESSAGE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;CHECK_MESSAGE:Lnet/minecraft/text/Text;
-
PROCEED_TEXT
- Mappings:
Namespace Name Mixin selector official q
Ldxr;q:Loi;
intermediary field_21846
Lnet/minecraft/class_4749;field_21846:Lnet/minecraft/class_2561;
named PROCEED_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;PROCEED_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official a
Ldxr;a:Ldve;
intermediary field_21842
Lnet/minecraft/class_4749;field_21842:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
checkbox
- Mappings:
Namespace Name Mixin selector official r
Ldxr;r:Ldrw;
intermediary field_21848
Lnet/minecraft/class_4749;field_21848:Lnet/minecraft/class_4286;
named checkbox
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerWarningScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;
-
lines
- Mappings:
Namespace Name Mixin selector official s
Ldxr;s:Ldsg;
intermediary field_21849
Lnet/minecraft/class_4749;field_21849:Lnet/minecraft/class_5489;
named lines
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_4749;<init>(Lnet/minecraft/class_437;)V
named <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:
getNarrationMessage
in classScreen
- Mappings:
Namespace Name Mixin selector official ax_
Ldve;ax_()Ljava/lang/String;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Ljava/lang/String;
named getNarrationMessage
Lnet/minecraft/client/gui/screen/Screen;getNarrationMessage()Ljava/lang/String;
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;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
-