Class ChatPreviewWarningScreen
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
net.minecraft.client.gui.screen.multiplayer.ChatPreviewWarningScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official eoa
intermediary net/minecraft/class_7483
named net/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private final ServerInfo
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.WarningScreen
checkbox
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
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
close()
protected int
private static Text
protected void
initButtons
(int yOffset) boolean
Checks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.WarningScreen
drawTitle, getNarratedTitle, init, render
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, 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, 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
-
TITLE
- Mappings:
Namespace Name Mixin selector official b
Leoa;b:Lrq;
intermediary field_39348
Lnet/minecraft/class_7483;field_39348:Lnet/minecraft/class_2561;
named TITLE
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;TITLE:Lnet/minecraft/text/Text;
-
CHECK_MESSAGE
- Mappings:
Namespace Name Mixin selector official c
Leoa;c:Lrq;
intermediary field_39350
Lnet/minecraft/class_7483;field_39350:Lnet/minecraft/class_2561;
named CHECK_MESSAGE
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;CHECK_MESSAGE:Lnet/minecraft/text/Text;
-
serverInfo
- Mappings:
Namespace Name Mixin selector official n
Leoa;n:Levb;
intermediary field_39352
Lnet/minecraft/class_7483;field_39352:Lnet/minecraft/class_642;
named serverInfo
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;serverInfo:Lnet/minecraft/client/network/ServerInfo;
-
parent
- Mappings:
Namespace Name Mixin selector official o
Leoa;o:Lelm;
intermediary field_39433
Lnet/minecraft/class_7483;field_39433:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
-
Constructor Details
-
ChatPreviewWarningScreen
- Mappings:
Namespace Name Mixin selector official <init>
Leoa;<init>(Lelm;Levb;)V
intermediary <init>
Lnet/minecraft/class_7483;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_642;)V
named <init>
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/network/ServerInfo;)V
-
-
Method Details
-
getWarningContent
- Mappings:
Namespace Name Mixin selector official j
Leoa;j()Lrq;
intermediary method_44938
Lnet/minecraft/class_7483;method_44938()Lnet/minecraft/class_2561;
named getWarningContent
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;getWarningContent()Lnet/minecraft/text/Text;
-
initButtons
protected void initButtons(int yOffset) - Specified by:
initButtons
in classWarningScreen
- 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
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEsc
in classScreen
- Mappings:
Namespace Name Mixin selector official af_
Lelm;af_()Z
intermediary method_25422
Lnet/minecraft/class_437;method_25422()Z
named shouldCloseOnEsc
Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
acknowledge
private void acknowledge()- Mappings:
Namespace Name Mixin selector official k
Leoa;k()V
intermediary method_44069
Lnet/minecraft/class_7483;method_44069()V
named acknowledge
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;acknowledge()V
-
getLineHeight
protected int getLineHeight()- Overrides:
getLineHeight
in classWarningScreen
- 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
-
close
public void close()
-