Class ChatReportScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.report.ChatReportScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - official - eym- intermediary - net/minecraft/class_7538- named - net/minecraft/client/gui/screen/report/ChatReportScreen
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate final AbuseReportContextprivate static final Textprivate @Nullable EditBoxWidgetprivate static final Textprivate static final Loggerprivate static final Textprivate static final Textprivate static final intprivate static final intprivate @Nullable MultilineTextprivate ChatAbuseReportprivate static final Textprivate static final Textprivate static final Textprivate static final intprivate static final Textprivate static final Textprivate ButtonWidgetprivate static final Textprivate ChatAbuseReport.ValidationErrorFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsModifierConstructorDescriptionChatReportScreen(@Nullable Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid) privateChatReportScreen(@Nullable Screen parent, AbuseReportContext context, ChatAbuseReport report) ChatReportScreen(@Nullable Screen parent, AbuseReportContext context, ChatAbuseReport.Draft draft) 
- 
Method SummaryModifier and TypeMethodDescription(package private) voidvoidclose()private intprivate intprivate intprivate intprivate intprivate intprivate intgetTop()private intprivate intprotected voidinit()Called when a screen should be initialized.booleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.private voidonChange()private voidonSubmissionError(Throwable throwable) private voidvoidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) private voidsend()(package private) voidsetDraft()private voidshowErrorScreen(Text message) voidtick()Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseScrolled, setFocused
- 
Field Details- 
BOTTOM_BUTTON_WIDTHprivate static final int BOTTOM_BUTTON_WIDTH- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leym;a:I- intermediary - field_39562- Lnet/minecraft/class_7538;field_39562:I- named - BOTTOM_BUTTON_WIDTH- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;BOTTOM_BUTTON_WIDTH:I
 
- 
BUTTON_HEIGHTprivate static final int BUTTON_HEIGHT- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Leym;b:I- intermediary - field_39563- Lnet/minecraft/class_7538;field_39563:I- named - BUTTON_HEIGHT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;BUTTON_HEIGHT:I
 
- 
BUTTON_TOP_MARGINprivate static final int BUTTON_TOP_MARGIN- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Leym;c:I- intermediary - field_39564- Lnet/minecraft/class_7538;field_39564:I- named - BUTTON_TOP_MARGIN- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;BUTTON_TOP_MARGIN:I
 
- 
BUTTON_BOTTOM_MARGINprivate static final int BUTTON_BOTTOM_MARGIN- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - k- Leym;k:I- intermediary - field_39565- Lnet/minecraft/class_7538;field_39565:I- named - BUTTON_BOTTOM_MARGIN- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;BUTTON_BOTTOM_MARGIN:I
 
- 
REASON_DESCRIPTION_TOP_MARGINprivate static final int REASON_DESCRIPTION_TOP_MARGIN- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - l- Leym;l:I- intermediary - field_39566- Lnet/minecraft/class_7538;field_39566:I- named - REASON_DESCRIPTION_TOP_MARGIN- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;REASON_DESCRIPTION_TOP_MARGIN:I
 
- 
REASON_DESCRIPTION_TEXT_WIDTHprivate static final int REASON_DESCRIPTION_TEXT_WIDTH- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - m- Leym;m:I- intermediary - field_39567- Lnet/minecraft/class_7538;field_39567:I- named - REASON_DESCRIPTION_TEXT_WIDTH- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;REASON_DESCRIPTION_TEXT_WIDTH:I
 
- 
SCREEN_HEIGHTprivate static final int SCREEN_HEIGHT- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - n- Leym;n:I- intermediary - field_39568- Lnet/minecraft/class_7538;field_39568:I- named - SCREEN_HEIGHT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;SCREEN_HEIGHT:I
 
- 
OBSERVED_WHAT_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - o- Leym;o:Lsw;- intermediary - field_39569- Lnet/minecraft/class_7538;field_39569:Lnet/minecraft/class_2561;- named - OBSERVED_WHAT_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;OBSERVED_WHAT_TEXT:Lnet/minecraft/text/Text;
 
- 
SELECT_REASON_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - p- Leym;p:Lsw;- intermediary - field_39570- Lnet/minecraft/class_7538;field_39570:Lnet/minecraft/class_2561;- named - SELECT_REASON_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;SELECT_REASON_TEXT:Lnet/minecraft/text/Text;
 
- 
MORE_COMMENTS_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - q- Leym;q:Lsw;- intermediary - field_39571- Lnet/minecraft/class_7538;field_39571:Lnet/minecraft/class_2561;- named - MORE_COMMENTS_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;MORE_COMMENTS_TEXT:Lnet/minecraft/text/Text;
 
- 
DESCRIBE_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - r- Leym;r:Lsw;- intermediary - field_39572- Lnet/minecraft/class_7538;field_39572:Lnet/minecraft/class_2561;- named - DESCRIBE_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;DESCRIBE_TEXT:Lnet/minecraft/text/Text;
 
- 
REPORT_SENT_MESSAGE_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - s- Leym;s:Lsw;- intermediary - field_39573- Lnet/minecraft/class_7538;field_39573:Lnet/minecraft/class_2561;- named - REPORT_SENT_MESSAGE_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;REPORT_SENT_MESSAGE_TEXT:Lnet/minecraft/text/Text;
 
- 
SELECT_CHAT_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - t- Leym;t:Lsw;- intermediary - field_39574- Lnet/minecraft/class_7538;field_39574:Lnet/minecraft/class_2561;- named - SELECT_CHAT_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;SELECT_CHAT_TEXT:Lnet/minecraft/text/Text;
 
- 
SENDING_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - u- Leym;u:Lsw;- intermediary - field_39575- Lnet/minecraft/class_7538;field_39575:Lnet/minecraft/class_2561;- named - SENDING_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;SENDING_TEXT:Lnet/minecraft/text/Text;
 
- 
REPORT_SENT_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - v- Leym;v:Lsw;- intermediary - field_39748- Lnet/minecraft/class_7538;field_39748:Lnet/minecraft/class_2561;- named - REPORT_SENT_TITLE- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;REPORT_SENT_TITLE:Lnet/minecraft/text/Text;
 
- 
REPORT_ERROR_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - w- Leym;w:Lsw;- intermediary - field_39749- Lnet/minecraft/class_7538;field_39749:Lnet/minecraft/class_2561;- named - REPORT_ERROR_TITLE- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;REPORT_ERROR_TITLE:Lnet/minecraft/text/Text;
 
- 
GENERIC_ERROR_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - x- Leym;x:Lsw;- intermediary - field_39576- Lnet/minecraft/class_7538;field_39576:Lnet/minecraft/class_2561;- named - GENERIC_ERROR_TEXT- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;GENERIC_ERROR_TEXT:Lnet/minecraft/text/Text;
 
- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - y- Leym;y:Lorg/slf4j/Logger;- intermediary - field_39577- Lnet/minecraft/class_7538;field_39577:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;LOGGER:Lorg/slf4j/Logger;
 
- 
parent- Mappings:
- Namespace - Name - Mixin selector - official - z- Leym;z:Leuq;- intermediary - field_39555- Lnet/minecraft/class_7538;field_39555:Lnet/minecraft/class_437;- named - parent- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
 
- 
context- Mappings:
- Namespace - Name - Mixin selector - official - A- Leym;A:Lffs;- intermediary - field_39556- Lnet/minecraft/class_7538;field_39556:Lnet/minecraft/class_7574;- named - context- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;context:Lnet/minecraft/client/report/AbuseReportContext;
 
- 
reasonDescription- Mappings:
- Namespace - Name - Mixin selector - official - C- Leym;C:Lepz;- intermediary - field_39557- Lnet/minecraft/class_7538;field_39557:Lnet/minecraft/class_5489;- named - reasonDescription- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;reasonDescription:Lnet/minecraft/client/font/MultilineText;
 
- 
editBox- Mappings:
- Namespace - Name - Mixin selector - official - D- Leym;D:Lepy;- intermediary - field_39558- Lnet/minecraft/class_7538;field_39558:Lnet/minecraft/class_7529;- named - editBox- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;editBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;
 
- 
sendButton- Mappings:
- Namespace - Name - Mixin selector - official - E- Leym;E:Lepi;- intermediary - field_39559- Lnet/minecraft/class_7538;field_39559:Lnet/minecraft/class_4185;- named - sendButton- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
report- Mappings:
- Namespace - Name - Mixin selector - official - F- Leym;F:Lffo;- intermediary - field_40793- Lnet/minecraft/class_7538;field_40793:Lnet/minecraft/class_7566;- named - report- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;report:Lnet/minecraft/client/report/ChatAbuseReport;
 
- 
validationError- Mappings:
- Namespace - Name - Mixin selector - official - G- Leym;G:Lffo$a;- intermediary - field_39561- Lnet/minecraft/class_7538;field_39561:Lnet/minecraft/class_7566$class_7567;- named - validationError- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;validationError:Lnet/minecraft/client/report/ChatAbuseReport$ValidationError;
 
 
- 
- 
Constructor Details- 
ChatReportScreenprivate ChatReportScreen(@Nullable @Nullable Screen parent, AbuseReportContext context, ChatAbuseReport report) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leym;<init>(Leuq;Lffs;Lffo;)V- intermediary - <init>- Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566;)V- named - <init>- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Lnet/minecraft/client/report/ChatAbuseReport;)V
 
- 
ChatReportScreenpublic ChatReportScreen(@Nullable @Nullable Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leym;<init>(Leuq;Lffs;Ljava/util/UUID;)V- intermediary - <init>- Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;)V- named - <init>- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Ljava/util/UUID;)V
 
- 
ChatReportScreenpublic ChatReportScreen(@Nullable @Nullable Screen parent, AbuseReportContext context, ChatAbuseReport.Draft draft) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leym;<init>(Leuq;Lffs;Lffo$b;)V- intermediary - <init>- Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566$class_7855;)V- named - <init>- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Lnet/minecraft/client/report/ChatAbuseReport$Draft;)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. This should call Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.
- 
onChangeprivate void onChange()- Mappings:
- Namespace - Name - Mixin selector - official - l- Leym;l()V- intermediary - method_44478- Lnet/minecraft/class_7538;method_44478()V- named - onChange- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;onChange()V
 
- 
sendprivate void send()- Mappings:
- Namespace - Name - Mixin selector - official - B- Leym;B()V- intermediary - method_44479- Lnet/minecraft/class_7538;method_44479()V- named - send- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;send()V
 
- 
onSubmissionFinishedprivate void onSubmissionFinished()- Mappings:
- Namespace - Name - Mixin selector - official - C- Leym;C()V- intermediary - method_44466- Lnet/minecraft/class_7538;method_44466()V- named - onSubmissionFinished- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;onSubmissionFinished()V
 
- 
onSubmissionError- Mappings:
- Namespace - Name - Mixin selector - official - a- Leym;a(Ljava/lang/Throwable;)V- intermediary - method_44468- Lnet/minecraft/class_7538;method_44468(Ljava/lang/Throwable;)V- named - onSubmissionError- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;onSubmissionError(Ljava/lang/Throwable;)V
 
- 
showErrorScreen- Mappings:
- Namespace - Name - Mixin selector - official - a- Leym;a(Lsw;)V- intermediary - method_45054- Lnet/minecraft/class_7538;method_45054(Lnet/minecraft/class_2561;)V- named - showErrorScreen- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;showErrorScreen(Lnet/minecraft/text/Text;)V
 
- 
setDraftvoid setDraft()- Mappings:
- Namespace - Name - Mixin selector - official - D- Leym;D()V- intermediary - method_46516- Lnet/minecraft/class_7538;method_46516()V- named - setDraft- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;setDraft()V
 
- 
clearDraftvoid clearDraft()- Mappings:
- Namespace - Name - Mixin selector - official - E- Leym;E()V- intermediary - method_46517- Lnet/minecraft/class_7538;method_46517()V- named - clearDraft- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;clearDraft()V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
tickpublic void tick()
- 
closepublic void close()
- 
removedpublic void removed()
- 
mouseReleasedpublic boolean mouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured. The button number is identified by the constants inGLFWclass.- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Leqt;b(DDI)Z- intermediary - method_25406- Lnet/minecraft/class_364;method_25406(DDI)Z- named - mouseReleased- Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
 
- 
getWidgetsLeftprivate int getWidgetsLeft()- Mappings:
- Namespace - Name - Mixin selector - official - F- Leym;F()I- intermediary - method_44480- Lnet/minecraft/class_7538;method_44480()I- named - getWidgetsLeft- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getWidgetsLeft()I
 
- 
getWidgetsRightprivate int getWidgetsRight()- Mappings:
- Namespace - Name - Mixin selector - official - G- Leym;G()I- intermediary - method_44481- Lnet/minecraft/class_7538;method_44481()I- named - getWidgetsRight- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getWidgetsRight()I
 
- 
getTopprivate int getTop()- Mappings:
- Namespace - Name - Mixin selector - official - H- Leym;H()I- intermediary - method_44456- Lnet/minecraft/class_7538;method_44456()I- named - getTop- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getTop()I
 
- 
getBottomprivate int getBottom()- Mappings:
- Namespace - Name - Mixin selector - official - I- Leym;I()I- intermediary - method_44457- Lnet/minecraft/class_7538;method_44457()I- named - getBottom- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getBottom()I
 
- 
getSelectionButtonYprivate int getSelectionButtonY()- Mappings:
- Namespace - Name - Mixin selector - official - J- Leym;J()I- intermediary - method_44458- Lnet/minecraft/class_7538;method_44458()I- named - getSelectionButtonY- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getSelectionButtonY()I
 
- 
getReasonButtonYprivate int getReasonButtonY()- Mappings:
- Namespace - Name - Mixin selector - official - K- Leym;K()I- intermediary - method_44459- Lnet/minecraft/class_7538;method_44459()I- named - getReasonButtonY- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getReasonButtonY()I
 
- 
getEditBoxTopprivate int getEditBoxTop()- Mappings:
- Namespace - Name - Mixin selector - official - L- Leym;L()I- intermediary - method_44460- Lnet/minecraft/class_7538;method_44460()I- named - getEditBoxTop- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getEditBoxTop()I
 
- 
getEditBoxBottomprivate int getEditBoxBottom()- Mappings:
- Namespace - Name - Mixin selector - official - M- Leym;M()I- intermediary - method_44461- Lnet/minecraft/class_7538;method_44461()I- named - getEditBoxBottom- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getEditBoxBottom()I
 
- 
getBottomButtonsYprivate int getBottomButtonsY()- Mappings:
- Namespace - Name - Mixin selector - official - N- Leym;N()I- intermediary - method_44462- Lnet/minecraft/class_7538;method_44462()I- named - getBottomButtonsY- Lnet/minecraft/client/gui/screen/report/ChatReportScreen;getBottomButtonsY()I
 
 
-