Class AbuseReportReasonScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class AbuseReportReasonScreen extends Screen
Mappings:
Namespace Name
official fhf
intermediary net/minecraft/class_7551
named net/minecraft/client/gui/screen/report/AbuseReportReasonScreen
  • Field Details

    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Lfhf;a:Lvf;
      intermediary field_39612 Lnet/minecraft/class_7551;field_39612:Lnet/minecraft/class_2561;
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
    • DESCRIPTION_TEXT

      private static final Text DESCRIPTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lfhf;b:Lvf;
      intermediary field_39613 Lnet/minecraft/class_7551;field_39613:Lnet/minecraft/class_2561;
      named DESCRIPTION_TEXT Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
    • READ_INFO_TEXT

      private static final Text READ_INFO_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Lfhf;c:Lvf;
      intermediary field_39754 Lnet/minecraft/class_7551;field_39754:Lnet/minecraft/class_2561;
      named READ_INFO_TEXT Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;READ_INFO_TEXT:Lnet/minecraft/text/Text;
    • REASON_LIST_BOTTOM_MARGIN

      private static final int REASON_LIST_BOTTOM_MARGIN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lfhf;k:I
      intermediary field_39614 Lnet/minecraft/class_7551;field_39614:I
      named REASON_LIST_BOTTOM_MARGIN Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;REASON_LIST_BOTTOM_MARGIN:I
    • DONE_BUTTON_WIDTH

      private static final int DONE_BUTTON_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lfhf;l:I
      intermediary field_39732 Lnet/minecraft/class_7551;field_39732:I
      named DONE_BUTTON_WIDTH Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DONE_BUTTON_WIDTH:I
    • DONE_BUTTON_HEIGHT

      private static final int DONE_BUTTON_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lfhf;m:I
      intermediary field_39733 Lnet/minecraft/class_7551;field_39733:I
      named DONE_BUTTON_HEIGHT Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DONE_BUTTON_HEIGHT:I
    • SCREEN_WIDTH

      private static final int SCREEN_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lfhf;n:I
      intermediary field_39734 Lnet/minecraft/class_7551;field_39734:I
      named SCREEN_WIDTH Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;SCREEN_WIDTH:I
    • TOP_MARGIN

      private static final int TOP_MARGIN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o Lfhf;o:I
      intermediary field_39735 Lnet/minecraft/class_7551;field_39735:I
      named TOP_MARGIN Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TOP_MARGIN:I
    • parent

      @Nullable private final @Nullable Screen parent
      Mappings:
      Namespace Name Mixin selector
      official p Lfhf;p:Lfdb;
      intermediary field_39615 Lnet/minecraft/class_7551;field_39615:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • reasonList

      Mappings:
      Namespace Name Mixin selector
      official q Lfhf;q:Lfhf$a;
      intermediary field_39616 Lnet/minecraft/class_7551;field_39616:Lnet/minecraft/class_7551$class_7552;
      named reasonList Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonList:Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen$ReasonListWidget;
    • reason

      Mappings:
      Namespace Name Mixin selector
      official r Lfhf;r:Lfou;
      intermediary field_39778 Lnet/minecraft/class_7551;field_39778:Lnet/minecraft/class_7573;
      named reason Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reason:Lnet/minecraft/client/session/report/AbuseReportReason;
    • reasonConsumer

      private final Consumer<AbuseReportReason> reasonConsumer
      Mappings:
      Namespace Name Mixin selector
      official t Lfhf;t:Ljava/util/function/Consumer;
      intermediary field_39618 Lnet/minecraft/class_7551;field_39618:Ljava/util/function/Consumer;
      named reasonConsumer Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonConsumer:Ljava/util/function/Consumer;
  • Constructor Details

    • AbuseReportReasonScreen

      public AbuseReportReasonScreen(@Nullable @Nullable Screen parent, @Nullable @Nullable AbuseReportReason reason, Consumer<AbuseReportReason> reasonConsumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfhf;<init>(Lfdb;Lfou;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_7551;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7573;Ljava/util/function/Consumer;)V
      named <init> Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportReason;Ljava/util/function/Consumer;)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
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leyj;a(Lewu;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
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lfdb;b(Lewu;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • getDoneButtonY

      private int getDoneButtonY()
      Mappings:
      Namespace Name Mixin selector
      official n Lfhf;n()I
      intermediary method_44674 Lnet/minecraft/class_7551;method_44674()I
      named getDoneButtonY Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getDoneButtonY()I
    • getLeft

      private int getLeft()
      Mappings:
      Namespace Name Mixin selector
      official D Lfhf;D()I
      intermediary method_44675 Lnet/minecraft/class_7551;method_44675()I
      named getLeft Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getLeft()I
    • getRight

      private int getRight()
      Mappings:
      Namespace Name Mixin selector
      official E Lfhf;E()I
      intermediary method_44676 Lnet/minecraft/class_7551;method_44676()I
      named getRight Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getRight()I
    • getTop

      private int getTop()
      Mappings:
      Namespace Name Mixin selector
      official H Lfhf;H()I
      intermediary method_44668 Lnet/minecraft/class_7551;method_44668()I
      named getTop Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getTop()I
    • getBottom

      private int getBottom()
      Mappings:
      Namespace Name Mixin selector
      official I Lfhf;I()I
      intermediary method_44669 Lnet/minecraft/class_7551;method_44669()I
      named getBottom Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getBottom()I
    • close

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