Class ChatReportScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class ChatReportScreen extends ReportScreen<ChatAbuseReport.Builder>
Mappings:
Namespace Name
official fha
intermediary net/minecraft/class_7538
named net/minecraft/client/gui/screen/report/ChatReportScreen
  • Field Details

    • BOTTOM_BUTTON_WIDTH

      private static final int BOTTOM_BUTTON_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Lfha;r: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
    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official t Lfha;t:Lvf;
      intermediary field_46031 Lnet/minecraft/class_7538;field_46031:Lnet/minecraft/class_2561;
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/report/ChatReportScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
    • SELECT_CHAT_TEXT

      private static final Text SELECT_CHAT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official u Lfha;u:Lvf;
      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;
    • layout

      private final DirectionalLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      official v Lfha;v:Lfau;
      intermediary field_46032 Lnet/minecraft/class_7538;field_46032:Lnet/minecraft/class_8667;
      named layout Lnet/minecraft/client/gui/screen/report/ChatReportScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
    • commentsBox

      private EditBoxWidget commentsBox
      Mappings:
      Namespace Name Mixin selector
      official w Lfha;w:Lexy;
      intermediary field_46033 Lnet/minecraft/class_7538;field_46033:Lnet/minecraft/class_7529;
      named commentsBox Lnet/minecraft/client/gui/screen/report/ChatReportScreen;commentsBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;
    • sendButton

      private ButtonWidget sendButton
      Mappings:
      Namespace Name Mixin selector
      official x Lfha;x:Lexg;
      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;
    • selectChatButton

      private ButtonWidget selectChatButton
      Mappings:
      Namespace Name Mixin selector
      official y Lfha;y:Lexg;
      intermediary field_46034 Lnet/minecraft/class_7538;field_46034:Lnet/minecraft/class_4185;
      named selectChatButton Lnet/minecraft/client/gui/screen/report/ChatReportScreen;selectChatButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • selectReasonButton

      private ButtonWidget selectReasonButton
      Mappings:
      Namespace Name Mixin selector
      official z Lfha;z:Lexg;
      intermediary field_46035 Lnet/minecraft/class_7538;field_46035:Lnet/minecraft/class_4185;
      named selectReasonButton Lnet/minecraft/client/gui/screen/report/ChatReportScreen;selectReasonButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
  • Constructor Details

    • ChatReportScreen

      private ChatReportScreen(Screen parent, AbuseReportContext context, ChatAbuseReport.Builder reportBuilder)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfha;<init>(Lfdb;Lfow;Lfoo$a;)V
      intermediary <init> Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566$class_8772;)V
      named <init> Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;)V
    • ChatReportScreen

      public ChatReportScreen(Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfha;<init>(Lfdb;Lfow;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/session/report/AbuseReportContext;Ljava/util/UUID;)V
    • ChatReportScreen

      public ChatReportScreen(Screen parent, AbuseReportContext context, ChatAbuseReport report)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfha;<init>(Lfdb;Lfow;Lfoo;)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/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/ChatAbuseReport;)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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aN_ Lfdb;aN_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      official c Lfdb;c()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
    • onChange

      private void onChange()
      Mappings:
      Namespace Name Mixin selector
      official D Lfha;D()V
      intermediary method_44478 Lnet/minecraft/class_7538;method_44478()V
      named onChange Lnet/minecraft/client/gui/screen/report/ChatReportScreen;onChange()V
    • 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 in GLFW class.
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lezb;b(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z