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 emxintermediary net/minecraft/class_7483named 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
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final Textprivate static final Textprivate final ServerInfoprivate static final TextFields inherited from class net.minecraft.client.gui.screen.WarningScreen
checkboxFields 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 TypeMethodDescriptionprivate voidvoidclose()protected intprotected voidinitButtons(int yOffset) booleanChecks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.WarningScreen
getNarratedTitle, init, renderMethods 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, 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
-
TITLE
- Mappings:
Namespace Name Mixin selector official bLemx;b:Lrm;intermediary field_39348Lnet/minecraft/class_7483;field_39348:Lnet/minecraft/class_2561;named TITLELnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;TITLE:Lnet/minecraft/text/Text;
-
CONTENT
- Mappings:
Namespace Name Mixin selector official cLemx;c:Lrm;intermediary field_39349Lnet/minecraft/class_7483;field_39349:Lnet/minecraft/class_2561;named CONTENTLnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;CONTENT:Lnet/minecraft/text/Text;
-
CHECK_MESSAGE
- Mappings:
Namespace Name Mixin selector official nLemx;n:Lrm;intermediary field_39350Lnet/minecraft/class_7483;field_39350:Lnet/minecraft/class_2561;named CHECK_MESSAGELnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;CHECK_MESSAGE:Lnet/minecraft/text/Text;
-
NARRATED_TEXT
- Mappings:
Namespace Name Mixin selector official oLemx;o:Lrm;intermediary field_39351Lnet/minecraft/class_7483;field_39351:Lnet/minecraft/class_2561;named NARRATED_TEXTLnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;NARRATED_TEXT:Lnet/minecraft/text/Text;
-
serverInfo
- Mappings:
Namespace Name Mixin selector official pLemx;p:Lets;intermediary field_39352Lnet/minecraft/class_7483;field_39352:Lnet/minecraft/class_642;named serverInfoLnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;serverInfo:Lnet/minecraft/client/network/ServerInfo;
-
parent
- Mappings:
Namespace Name Mixin selector official qLemx;q:Lekj;intermediary field_39433Lnet/minecraft/class_7483;field_39433:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
-
Constructor Details
-
ChatPreviewWarningScreen
- Mappings:
Namespace Name Mixin selector official <init>Lemx;<init>(Lekj;Lets;)Vintermediary <init>Lnet/minecraft/class_7483;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_642;)Vnamed <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:
initButtonsin classWarningScreen- Mappings:
Namespace Name Mixin selector official aLenc;a(I)Vintermediary method_41160Lnet/minecraft/class_7065;method_41160(I)Vnamed initButtonsLnet/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:
shouldCloseOnEscin classScreen- Mappings:
Namespace Name Mixin selector official ag_Lekj;ag_()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
acknowledge
private void acknowledge()- Mappings:
Namespace Name Mixin selector official jLemx;j()Vintermediary method_44069Lnet/minecraft/class_7483;method_44069()Vnamed acknowledgeLnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;acknowledge()V
-
getLineHeight
protected int getLineHeight()- Overrides:
getLineHeightin classWarningScreen- Mappings:
Namespace Name Mixin selector official hLenc;h()Iintermediary method_44068Lnet/minecraft/class_7065;method_44068()Inamed getLineHeightLnet/minecraft/client/gui/screen/WarningScreen;getLineHeight()I
-
close
public void close()
-