Class ChatReportScreen.DiscardWarningScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.WarningScreen
net.minecraft.client.gui.screen.report.ChatReportScreen.DiscardWarningScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Enclosing class:
ChatReportScreen
- Mappings:
Namespace Name intermediary net/minecraft/class_7538$class_7539official eyb$anamed net/minecraft/client/gui/screen/report/ChatReportScreen$DiscardWarningScreen
-
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 static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.WarningScreen
checkboxFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voiddrawTitle(DrawContext context) protected 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
getLineHeight, 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, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE
- Mappings:
Namespace Name Mixin selector intermediary field_39723Lnet/minecraft/class_7538$class_7539;field_39723:Lnet/minecraft/class_2561;official cLeyb$a;c:Lsw;named TITLELnet/minecraft/client/gui/screen/report/ChatReportScreen$DiscardWarningScreen;TITLE:Lnet/minecraft/text/Text;
-
MESSAGE
- Mappings:
Namespace Name Mixin selector intermediary field_39724Lnet/minecraft/class_7538$class_7539;field_39724:Lnet/minecraft/class_2561;official jLeyb$a;j:Lsw;named MESSAGELnet/minecraft/client/gui/screen/report/ChatReportScreen$DiscardWarningScreen;MESSAGE:Lnet/minecraft/text/Text;
-
RETURN_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector intermediary field_39725Lnet/minecraft/class_7538$class_7539;field_39725:Lnet/minecraft/class_2561;official kLeyb$a;k:Lsw;named RETURN_BUTTON_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen$DiscardWarningScreen;RETURN_BUTTON_TEXT:Lnet/minecraft/text/Text;
-
DRAFT_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector intermediary field_40794Lnet/minecraft/class_7538$class_7539;field_40794:Lnet/minecraft/class_2561;official lLeyb$a;l:Lsw;named DRAFT_BUTTON_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen$DiscardWarningScreen;DRAFT_BUTTON_TEXT:Lnet/minecraft/text/Text;
-
DISCARD_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector intermediary field_39726Lnet/minecraft/class_7538$class_7539;field_39726:Lnet/minecraft/class_2561;official mLeyb$a;m:Lsw;named DISCARD_BUTTON_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen$DiscardWarningScreen;DISCARD_BUTTON_TEXT:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
DiscardWarningScreen
protected DiscardWarningScreen()
-
-
Method Details
-
initButtons
protected void initButtons(int yOffset) - Specified by:
initButtonsin classWarningScreen- Mappings:
Namespace Name Mixin selector intermediary method_41160Lnet/minecraft/class_7065;method_41160(I)Vofficial aLexg;a(I)Vnamed initButtonsLnet/minecraft/client/gui/screen/WarningScreen;initButtons(I)V
-
close
public void close() -
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 intermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial av_Leug;av_()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
drawTitle
- Overrides:
drawTitlein classWarningScreen- Mappings:
Namespace Name Mixin selector intermediary method_44663Lnet/minecraft/class_7065;method_44663(Lnet/minecraft/class_332;)Vofficial cLexg;c(Leop;)Vnamed drawTitleLnet/minecraft/client/gui/screen/WarningScreen;drawTitle(Lnet/minecraft/client/gui/DrawContext;)V
-