Class UsernameReportScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class UsernameReportScreen extends ReportScreen<UsernameAbuseReport.Builder>
Mappings:
Namespace Name
official fck
intermediary net/minecraft/class_8769
named net/minecraft/client/gui/screen/report/UsernameReportScreen
  • Field Details

    • BOTTOM_BUTTON_WIDTH

      private static final int BOTTOM_BUTTON_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lfck;s:I
      intermediary field_46036 Lnet/minecraft/class_8769;field_46036:I
      named BOTTOM_BUTTON_WIDTH Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;BOTTOM_BUTTON_WIDTH:I
    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official t Lfck;t:Ltl;
      intermediary field_46037 Lnet/minecraft/class_8769;field_46037:Lnet/minecraft/class_2561;
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
    • layout

      private final DirectionalLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      official u Lfck;u:Lewd;
      intermediary field_46038 Lnet/minecraft/class_8769;field_46038:Lnet/minecraft/class_8667;
      named layout Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
    • commentsBox

      private EditBoxWidget commentsBox
      Mappings:
      Namespace Name Mixin selector
      official v Lfck;v:Leti;
      intermediary field_46039 Lnet/minecraft/class_8769;field_46039:Lnet/minecraft/class_7529;
      named commentsBox Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;commentsBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;
    • sendButton

      private ButtonWidget sendButton
      Mappings:
      Namespace Name Mixin selector
      official w Lfck;w:Lesq;
      intermediary field_46040 Lnet/minecraft/class_8769;field_46040:Lnet/minecraft/class_4185;
      named sendButton Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
  • Constructor Details

    • UsernameReportScreen

      private UsernameReportScreen(Screen parent, AbuseReportContext context, UsernameAbuseReport.Builder reportBuilder)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfck;<init>(Leyk;Lfjz;Lfju$a;)V
      intermediary <init> Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8773$class_8774;)V
      named <init> Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/UsernameAbuseReport$Builder;)V
    • UsernameReportScreen

      public UsernameReportScreen(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, String username)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfck;<init>(Leyk;Lfjz;Ljava/util/UUID;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Ljava/util/UUID;Ljava/lang/String;)V
    • UsernameReportScreen

      public UsernameReportScreen(Screen parent, AbuseReportContext context, UsernameAbuseReport report)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfck;<init>(Leyk;Lfjz;Lfju;)V
      intermediary <init> Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8773;)V
      named <init> Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/UsernameAbuseReport;)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 aH_ Leyk;aH_()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 b Leyk;b()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 Lfck;D()V
      intermediary method_53574 Lnet/minecraft/class_8769;method_53574()V
      named onChange Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;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 Leuk;b(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z