Class ReportScreen<B extends AbuseReport.Builder<?>>

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement
Direct Known Subclasses:
ChatReportScreen, SkinReportScreen, UsernameReportScreen

@Environment(CLIENT) public abstract class ReportScreen<B extends AbuseReport.Builder<?>> extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/report/ReportScreen
intermediary net/minecraft/class_8768
official frc
  • Field Details

    • REPORT_SENT_MESSAGE_TEXT

      private static final Text REPORT_SENT_MESSAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named REPORT_SENT_MESSAGE_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;REPORT_SENT_MESSAGE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46022 Lnet/minecraft/class_8768;field_46022:Lnet/minecraft/class_2561;
      official y Lfrc;y:Lxp;
    • SENDING_TITLE_TEXT

      private static final Text SENDING_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SENDING_TITLE_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;SENDING_TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46023 Lnet/minecraft/class_8768;field_46023:Lnet/minecraft/class_2561;
      official z Lfrc;z:Lxp;
    • SENT_TITLE_TEXT

      private static final Text SENT_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SENT_TITLE_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;SENT_TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46024 Lnet/minecraft/class_8768;field_46024:Lnet/minecraft/class_2561;
      official A Lfrc;A:Lxp;
    • ERROR_TITLE_TEXT

      private static final Text ERROR_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named ERROR_TITLE_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;ERROR_TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46025 Lnet/minecraft/class_8768;field_46025:Lnet/minecraft/class_2561;
      official B Lfrc;B:Lxp;
    • GENERIC_ERROR_TEXT

      private static final Text GENERIC_ERROR_TEXT
      Mappings:
      Namespace Name Mixin selector
      named GENERIC_ERROR_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;GENERIC_ERROR_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46026 Lnet/minecraft/class_8768;field_46026:Lnet/minecraft/class_2561;
      official C Lfrc;C:Lxp;
    • SEND_TEXT

      protected static final Text SEND_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SEND_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;SEND_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46012 Lnet/minecraft/class_8768;field_46012:Lnet/minecraft/class_2561;
      official a Lfrc;a:Lxp;
    • OBSERVED_WHAT_TEXT

      protected static final Text OBSERVED_WHAT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named OBSERVED_WHAT_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;OBSERVED_WHAT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46013 Lnet/minecraft/class_8768;field_46013:Lnet/minecraft/class_2561;
      official b Lfrc;b:Lxp;
    • SELECT_REASON_TEXT

      protected static final Text SELECT_REASON_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SELECT_REASON_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;SELECT_REASON_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46014 Lnet/minecraft/class_8768;field_46014:Lnet/minecraft/class_2561;
      official c Lfrc;c:Lxp;
    • DESCRIBE_TEXT

      private static final Text DESCRIBE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named DESCRIBE_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;DESCRIBE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46027 Lnet/minecraft/class_8768;field_46027:Lnet/minecraft/class_2561;
      official D Lfrc;D:Lxp;
    • MORE_COMMENTS_TEXT

      protected static final Text MORE_COMMENTS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named MORE_COMMENTS_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;MORE_COMMENTS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46015 Lnet/minecraft/class_8768;field_46015:Lnet/minecraft/class_2561;
      official d Lfrc;d:Lxp;
    • COMMENTS_TEXT

      private static final Text COMMENTS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named COMMENTS_TEXT Lnet/minecraft/client/gui/screen/report/ReportScreen;COMMENTS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46028 Lnet/minecraft/class_8768;field_46028:Lnet/minecraft/class_2561;
      official E Lfrc;E:Lxp;
    • field_46016

      protected static final int field_46016
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46016 Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46016:I
      intermediary field_46016 Lnet/minecraft/class_8768;field_46016:I
      official r Lfrc;r:I
    • field_46017

      protected static final int field_46017
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46017 Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46017:I
      intermediary field_46017 Lnet/minecraft/class_8768;field_46017:I
      official s Lfrc;s:I
    • field_46018

      protected static final int field_46018
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46018 Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46018:I
      intermediary field_46018 Lnet/minecraft/class_8768;field_46018:I
      official u Lfrc;u:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/gui/screen/report/ReportScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_46029 Lnet/minecraft/class_8768;field_46029:Lorg/slf4j/Logger;
      official F Lfrc;F:Lorg/slf4j/Logger;
    • parent

      protected final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/report/ReportScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_46019 Lnet/minecraft/class_8768;field_46019:Lnet/minecraft/class_437;
      official v Lfrc;v:Lfnf;
    • context

      protected final AbuseReportContext context
      Mappings:
      Namespace Name Mixin selector
      named context Lnet/minecraft/client/gui/screen/report/ReportScreen;context:Lnet/minecraft/client/session/report/AbuseReportContext;
      intermediary field_46020 Lnet/minecraft/class_8768;field_46020:Lnet/minecraft/class_7574;
      official w Lfrc;w:Lfzf;
    • reportBuilder

      protected B extends AbuseReport.Builder<?> reportBuilder
      Mappings:
      Namespace Name Mixin selector
      named reportBuilder Lnet/minecraft/client/gui/screen/report/ReportScreen;reportBuilder:Lnet/minecraft/client/session/report/AbuseReport$Builder;
      intermediary field_46021 Lnet/minecraft/class_8768;field_46021:Lnet/minecraft/class_7855$class_8775;
      official x Lfrc;x:Lfzb$a;
  • Constructor Details

    • ReportScreen

      protected ReportScreen(Text title, Screen parent, AbuseReportContext context, B reportBuilder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/report/ReportScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/AbuseReport$Builder;)V
      intermediary <init> Lnet/minecraft/class_8768;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7855$class_8775;)V
      official <init> Lfrc;<init>(Lxp;Lfnf;Lfzf;Lfzb$a;)V
  • Method Details

    • createCommentsBox

      protected EditBoxWidget createCommentsBox(int width, int height, Consumer<String> changeListener)
      Mappings:
      Namespace Name Mixin selector
      named createCommentsBox Lnet/minecraft/client/gui/screen/report/ReportScreen;createCommentsBox(IILjava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/EditBoxWidget;
      intermediary method_53564 Lnet/minecraft/class_8768;method_53564(IILjava/util/function/Consumer;)Lnet/minecraft/class_7529;
      official a Lfrc;a(IILjava/util/function/Consumer;)Lfhy;
    • trySend

      protected void trySend()
      Mappings:
      Namespace Name Mixin selector
      named trySend Lnet/minecraft/client/gui/screen/report/ReportScreen;trySend()V
      intermediary method_53571 Lnet/minecraft/class_8768;method_53571()V
      official m Lfrc;m()V
    • onSent

      private void onSent()
      Mappings:
      Namespace Name Mixin selector
      named onSent Lnet/minecraft/client/gui/screen/report/ReportScreen;onSent()V
      intermediary method_53559 Lnet/minecraft/class_8768;method_53559()V
      official E Lfrc;E()V
    • onSendError

      private void onSendError(Throwable error)
      Mappings:
      Namespace Name Mixin selector
      named onSendError Lnet/minecraft/client/gui/screen/report/ReportScreen;onSendError(Ljava/lang/Throwable;)V
      intermediary method_53568 Lnet/minecraft/class_8768;method_53568(Ljava/lang/Throwable;)V
      official a Lfrc;a(Ljava/lang/Throwable;)V
    • showError

      private void showError(Text errorMessage)
      Mappings:
      Namespace Name Mixin selector
      named showError Lnet/minecraft/client/gui/screen/report/ReportScreen;showError(Lnet/minecraft/text/Text;)V
      intermediary method_53570 Lnet/minecraft/class_8768;method_53570(Lnet/minecraft/class_2561;)V
      official a Lfrc;a(Lxp;)V
    • saveDraft

      void saveDraft()
      Mappings:
      Namespace Name Mixin selector
      named saveDraft Lnet/minecraft/client/gui/screen/report/ReportScreen;saveDraft()V
      intermediary method_53560 Lnet/minecraft/class_8768;method_53560()V
      official F Lfrc;F()V
    • resetDraft

      void resetDraft()
      Mappings:
      Namespace Name Mixin selector
      named resetDraft Lnet/minecraft/client/gui/screen/report/ReportScreen;resetDraft()V
      intermediary method_53561 Lnet/minecraft/class_8768;method_53561()V
      official I Lfrc;I()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official d Lfnf;d()V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      official j Lfnf;j()V