Class ChatReportScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.report.ChatReportScreen
- All Implemented Interfaces:
class_8083,Drawable,Element,ParentElement
- Mappings:
Namespace Name official evaintermediary net/minecraft/class_7538named net/minecraft/client/gui/screen/report/ChatReportScreen
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier 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.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
ConstructorsModifierConstructorDescriptionChatReportScreen(@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 Summary
Modifier 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(MatrixStack matrices, 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.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, method_48640, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, 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, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48585, method_48586, method_48587, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_8083
method_48590Methods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseScrolled, setFocused
-
Field Details
-
BOTTOM_BUTTON_WIDTH
private static final int BOTTOM_BUTTON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official aLeva;a:Iintermediary field_39562Lnet/minecraft/class_7538;field_39562:Inamed BOTTOM_BUTTON_WIDTHLnet/minecraft/client/gui/screen/report/ChatReportScreen;BOTTOM_BUTTON_WIDTH:I
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official bLeva;b:Iintermediary field_39563Lnet/minecraft/class_7538;field_39563:Inamed BUTTON_HEIGHTLnet/minecraft/client/gui/screen/report/ChatReportScreen;BUTTON_HEIGHT:I
-
BUTTON_TOP_MARGIN
private static final int BUTTON_TOP_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector official cLeva;c:Iintermediary field_39564Lnet/minecraft/class_7538;field_39564:Inamed BUTTON_TOP_MARGINLnet/minecraft/client/gui/screen/report/ChatReportScreen;BUTTON_TOP_MARGIN:I
-
BUTTON_BOTTOM_MARGIN
private static final int BUTTON_BOTTOM_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector official nLeva;n:Iintermediary field_39565Lnet/minecraft/class_7538;field_39565:Inamed BUTTON_BOTTOM_MARGINLnet/minecraft/client/gui/screen/report/ChatReportScreen;BUTTON_BOTTOM_MARGIN:I
-
REASON_DESCRIPTION_TOP_MARGIN
private static final int REASON_DESCRIPTION_TOP_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector official oLeva;o:Iintermediary field_39566Lnet/minecraft/class_7538;field_39566:Inamed REASON_DESCRIPTION_TOP_MARGINLnet/minecraft/client/gui/screen/report/ChatReportScreen;REASON_DESCRIPTION_TOP_MARGIN:I
-
REASON_DESCRIPTION_TEXT_WIDTH
private static final int REASON_DESCRIPTION_TEXT_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official pLeva;p:Iintermediary field_39567Lnet/minecraft/class_7538;field_39567:Inamed REASON_DESCRIPTION_TEXT_WIDTHLnet/minecraft/client/gui/screen/report/ChatReportScreen;REASON_DESCRIPTION_TEXT_WIDTH:I
-
SCREEN_HEIGHT
private static final int SCREEN_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official qLeva;q:Iintermediary field_39568Lnet/minecraft/class_7538;field_39568:Inamed SCREEN_HEIGHTLnet/minecraft/client/gui/screen/report/ChatReportScreen;SCREEN_HEIGHT:I
-
OBSERVED_WHAT_TEXT
- Mappings:
Namespace Name Mixin selector official rLeva;r:Lta;intermediary field_39569Lnet/minecraft/class_7538;field_39569:Lnet/minecraft/class_2561;named OBSERVED_WHAT_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;OBSERVED_WHAT_TEXT:Lnet/minecraft/text/Text;
-
SELECT_REASON_TEXT
- Mappings:
Namespace Name Mixin selector official sLeva;s:Lta;intermediary field_39570Lnet/minecraft/class_7538;field_39570:Lnet/minecraft/class_2561;named SELECT_REASON_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;SELECT_REASON_TEXT:Lnet/minecraft/text/Text;
-
MORE_COMMENTS_TEXT
- Mappings:
Namespace Name Mixin selector official tLeva;t:Lta;intermediary field_39571Lnet/minecraft/class_7538;field_39571:Lnet/minecraft/class_2561;named MORE_COMMENTS_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;MORE_COMMENTS_TEXT:Lnet/minecraft/text/Text;
-
DESCRIBE_TEXT
- Mappings:
Namespace Name Mixin selector official uLeva;u:Lta;intermediary field_39572Lnet/minecraft/class_7538;field_39572:Lnet/minecraft/class_2561;named DESCRIBE_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;DESCRIBE_TEXT:Lnet/minecraft/text/Text;
-
REPORT_SENT_MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector official vLeva;v:Lta;intermediary field_39573Lnet/minecraft/class_7538;field_39573:Lnet/minecraft/class_2561;named REPORT_SENT_MESSAGE_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;REPORT_SENT_MESSAGE_TEXT:Lnet/minecraft/text/Text;
-
SELECT_CHAT_TEXT
- Mappings:
Namespace Name Mixin selector official wLeva;w:Lta;intermediary field_39574Lnet/minecraft/class_7538;field_39574:Lnet/minecraft/class_2561;named SELECT_CHAT_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;SELECT_CHAT_TEXT:Lnet/minecraft/text/Text;
-
SENDING_TEXT
- Mappings:
Namespace Name Mixin selector official xLeva;x:Lta;intermediary field_39575Lnet/minecraft/class_7538;field_39575:Lnet/minecraft/class_2561;named SENDING_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;SENDING_TEXT:Lnet/minecraft/text/Text;
-
REPORT_SENT_TITLE
- Mappings:
Namespace Name Mixin selector official yLeva;y:Lta;intermediary field_39748Lnet/minecraft/class_7538;field_39748:Lnet/minecraft/class_2561;named REPORT_SENT_TITLELnet/minecraft/client/gui/screen/report/ChatReportScreen;REPORT_SENT_TITLE:Lnet/minecraft/text/Text;
-
REPORT_ERROR_TITLE
- Mappings:
Namespace Name Mixin selector official zLeva;z:Lta;intermediary field_39749Lnet/minecraft/class_7538;field_39749:Lnet/minecraft/class_2561;named REPORT_ERROR_TITLELnet/minecraft/client/gui/screen/report/ChatReportScreen;REPORT_ERROR_TITLE:Lnet/minecraft/text/Text;
-
GENERIC_ERROR_TEXT
- Mappings:
Namespace Name Mixin selector official ALeva;A:Lta;intermediary field_39576Lnet/minecraft/class_7538;field_39576:Lnet/minecraft/class_2561;named GENERIC_ERROR_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;GENERIC_ERROR_TEXT:Lnet/minecraft/text/Text;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official BLeva;B:Lorg/slf4j/Logger;intermediary field_39577Lnet/minecraft/class_7538;field_39577:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/report/ChatReportScreen;LOGGER:Lorg/slf4j/Logger;
-
parent
- Mappings:
Namespace Name Mixin selector official CLeva;C:Lere;intermediary field_39555Lnet/minecraft/class_7538;field_39555:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/report/ChatReportScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
context
- Mappings:
Namespace Name Mixin selector official DLeva;D:Lfcb;intermediary field_39556Lnet/minecraft/class_7538;field_39556:Lnet/minecraft/class_7574;named contextLnet/minecraft/client/gui/screen/report/ChatReportScreen;context:Lnet/minecraft/client/report/AbuseReportContext;
-
reasonDescription
- Mappings:
Namespace Name Mixin selector official ELeva;E:Lemx;intermediary field_39557Lnet/minecraft/class_7538;field_39557:Lnet/minecraft/class_5489;named reasonDescriptionLnet/minecraft/client/gui/screen/report/ChatReportScreen;reasonDescription:Lnet/minecraft/client/font/MultilineText;
-
editBox
- Mappings:
Namespace Name Mixin selector official FLeva;F:Lemw;intermediary field_39558Lnet/minecraft/class_7538;field_39558:Lnet/minecraft/class_7529;named editBoxLnet/minecraft/client/gui/screen/report/ChatReportScreen;editBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;
-
sendButton
- Mappings:
Namespace Name Mixin selector official GLeva;G:Lemi;intermediary field_39559Lnet/minecraft/class_7538;field_39559:Lnet/minecraft/class_4185;named sendButtonLnet/minecraft/client/gui/screen/report/ChatReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
report
- Mappings:
Namespace Name Mixin selector official HLeva;H:Lfbx;intermediary field_40793Lnet/minecraft/class_7538;field_40793:Lnet/minecraft/class_7566;named reportLnet/minecraft/client/gui/screen/report/ChatReportScreen;report:Lnet/minecraft/client/report/ChatAbuseReport;
-
validationError
- Mappings:
Namespace Name Mixin selector official ILeva;I:Lfbx$a;intermediary field_39561Lnet/minecraft/class_7538;field_39561:Lnet/minecraft/class_7566$class_7567;named validationErrorLnet/minecraft/client/gui/screen/report/ChatReportScreen;validationError:Lnet/minecraft/client/report/ChatAbuseReport$ValidationError;
-
-
Constructor Details
-
ChatReportScreen
private ChatReportScreen(@Nullable @Nullable Screen parent, AbuseReportContext context, ChatAbuseReport report) - Mappings:
Namespace Name Mixin selector official <init>Leva;<init>(Lere;Lfcb;Lfbx;)Vintermediary <init>Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566;)Vnamed <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
-
ChatReportScreen
public ChatReportScreen(@Nullable @Nullable Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid) - Mappings:
Namespace Name Mixin selector official <init>Leva;<init>(Lere;Lfcb;Ljava/util/UUID;)Vintermediary <init>Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Ljava/util/UUID;)V
-
ChatReportScreen
public ChatReportScreen(@Nullable @Nullable Screen parent, AbuseReportContext context, ChatAbuseReport.Draft draft) - Mappings:
Namespace Name Mixin selector official <init>Leva;<init>(Lere;Lfcb;Lfbx$b;)Vintermediary <init>Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566$class_7855;)Vnamed <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
-
init
protected 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. -
onChange
private void onChange()- Mappings:
Namespace Name Mixin selector official jLeva;j()Vintermediary method_44478Lnet/minecraft/class_7538;method_44478()Vnamed onChangeLnet/minecraft/client/gui/screen/report/ChatReportScreen;onChange()V
-
send
private void send()- Mappings:
Namespace Name Mixin selector official BLeva;B()Vintermediary method_44479Lnet/minecraft/class_7538;method_44479()Vnamed sendLnet/minecraft/client/gui/screen/report/ChatReportScreen;send()V
-
onSubmissionFinished
private void onSubmissionFinished()- Mappings:
Namespace Name Mixin selector official CLeva;C()Vintermediary method_44466Lnet/minecraft/class_7538;method_44466()Vnamed onSubmissionFinishedLnet/minecraft/client/gui/screen/report/ChatReportScreen;onSubmissionFinished()V
-
onSubmissionError
- Mappings:
Namespace Name Mixin selector official aLeva;a(Ljava/lang/Throwable;)Vintermediary method_44468Lnet/minecraft/class_7538;method_44468(Ljava/lang/Throwable;)Vnamed onSubmissionErrorLnet/minecraft/client/gui/screen/report/ChatReportScreen;onSubmissionError(Ljava/lang/Throwable;)V
-
showErrorScreen
- Mappings:
Namespace Name Mixin selector official aLeva;a(Lta;)Vintermediary method_45054Lnet/minecraft/class_7538;method_45054(Lnet/minecraft/class_2561;)Vnamed showErrorScreenLnet/minecraft/client/gui/screen/report/ChatReportScreen;showErrorScreen(Lnet/minecraft/text/Text;)V
-
setDraft
void setDraft()- Mappings:
Namespace Name Mixin selector official DLeva;D()Vintermediary method_46516Lnet/minecraft/class_7538;method_46516()Vnamed setDraftLnet/minecraft/client/gui/screen/report/ChatReportScreen;setDraft()V
-
clearDraft
void clearDraft()- Mappings:
Namespace Name Mixin selector official ELeva;E()Vintermediary method_46517Lnet/minecraft/class_7538;method_46517()Vnamed clearDraftLnet/minecraft/client/gui/screen/report/ChatReportScreen;clearDraft()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLenf;a(Lefn;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
tick
public void tick() -
close
public void close() -
removed
public void removed() -
mouseReleased
public 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 mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official bLenp;b(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Znamed mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
-
getWidgetsLeft
private int getWidgetsLeft()- Mappings:
Namespace Name Mixin selector official FLeva;F()Iintermediary method_44480Lnet/minecraft/class_7538;method_44480()Inamed getWidgetsLeftLnet/minecraft/client/gui/screen/report/ChatReportScreen;getWidgetsLeft()I
-
getWidgetsRight
private int getWidgetsRight()- Mappings:
Namespace Name Mixin selector official GLeva;G()Iintermediary method_44481Lnet/minecraft/class_7538;method_44481()Inamed getWidgetsRightLnet/minecraft/client/gui/screen/report/ChatReportScreen;getWidgetsRight()I
-
getTop
private int getTop()- Mappings:
Namespace Name Mixin selector official HLeva;H()Iintermediary method_44456Lnet/minecraft/class_7538;method_44456()Inamed getTopLnet/minecraft/client/gui/screen/report/ChatReportScreen;getTop()I
-
getBottom
private int getBottom()- Mappings:
Namespace Name Mixin selector official ILeva;I()Iintermediary method_44457Lnet/minecraft/class_7538;method_44457()Inamed getBottomLnet/minecraft/client/gui/screen/report/ChatReportScreen;getBottom()I
-
getSelectionButtonY
private int getSelectionButtonY()- Mappings:
Namespace Name Mixin selector official JLeva;J()Iintermediary method_44458Lnet/minecraft/class_7538;method_44458()Inamed getSelectionButtonYLnet/minecraft/client/gui/screen/report/ChatReportScreen;getSelectionButtonY()I
-
getReasonButtonY
private int getReasonButtonY()- Mappings:
Namespace Name Mixin selector official KLeva;K()Iintermediary method_44459Lnet/minecraft/class_7538;method_44459()Inamed getReasonButtonYLnet/minecraft/client/gui/screen/report/ChatReportScreen;getReasonButtonY()I
-
getEditBoxTop
private int getEditBoxTop()- Mappings:
Namespace Name Mixin selector official LLeva;L()Iintermediary method_44460Lnet/minecraft/class_7538;method_44460()Inamed getEditBoxTopLnet/minecraft/client/gui/screen/report/ChatReportScreen;getEditBoxTop()I
-
getEditBoxBottom
private int getEditBoxBottom()- Mappings:
Namespace Name Mixin selector official MLeva;M()Iintermediary method_44461Lnet/minecraft/class_7538;method_44461()Inamed getEditBoxBottomLnet/minecraft/client/gui/screen/report/ChatReportScreen;getEditBoxBottom()I
-
getBottomButtonsY
private int getBottomButtonsY()- Mappings:
Namespace Name Mixin selector official NLeva;N()Iintermediary method_44462Lnet/minecraft/class_7538;method_44462()Inamed getBottomButtonsYLnet/minecraft/client/gui/screen/report/ChatReportScreen;getBottomButtonsY()I
-