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 eoaintermediary 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 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 intprivate static Textprotected 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
drawTitle, 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
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, 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 bLeoa;b:Lrq;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;
-
CHECK_MESSAGE
- Mappings:
Namespace Name Mixin selector official cLeoa;c:Lrq;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;
-
serverInfo
- Mappings:
Namespace Name Mixin selector official nLeoa;n:Levb;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 oLeoa;o:Lelm;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>Leoa;<init>(Lelm;Levb;)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
-
getWarningContent
- Mappings:
Namespace Name Mixin selector official jLeoa;j()Lrq;intermediary method_44938Lnet/minecraft/class_7483;method_44938()Lnet/minecraft/class_2561;named getWarningContentLnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;getWarningContent()Lnet/minecraft/text/Text;
-
initButtons
protected void initButtons(int yOffset) - Specified by:
initButtonsin classWarningScreen- Mappings:
Namespace Name Mixin selector official aLeof;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 af_Lelm;af_()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 kLeoa;k()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 gLeof;g()Iintermediary method_44068Lnet/minecraft/class_7065;method_44068()Inamed getLineHeightLnet/minecraft/client/gui/screen/WarningScreen;getLineHeight()I
-
close
public void close()
-