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 emw
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 static final Text
private 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
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
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
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, 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
Lemw;b:Lrm;
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;
-
CONTENT
- Mappings:
Namespace Name Mixin selector official c
Lemw;c:Lrm;
intermediary field_39349
Lnet/minecraft/class_7483;field_39349:Lnet/minecraft/class_2561;
named CONTENT
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;CONTENT:Lnet/minecraft/text/Text;
-
CHECK_MESSAGE
- Mappings:
Namespace Name Mixin selector official n
Lemw;n:Lrm;
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;
-
NARRATED_TEXT
- Mappings:
Namespace Name Mixin selector official o
Lemw;o:Lrm;
intermediary field_39351
Lnet/minecraft/class_7483;field_39351:Lnet/minecraft/class_2561;
named NARRATED_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;NARRATED_TEXT:Lnet/minecraft/text/Text;
-
serverInfo
- Mappings:
Namespace Name Mixin selector official p
Lemw;p:Letr;
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 q
Lemw;q:Leki;
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>
Lemw;<init>(Leki;Letr;)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
-
initButtons
protected void initButtons(int yOffset) - Specified by:
initButtons
in classWarningScreen
- Mappings:
Namespace Name Mixin selector official a
Lenb;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 ag_
Leki;ag_()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 j
Lemw;j()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 h
Lenb;h()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()
-