Class AbuseReportReasonScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TITLE_TEXT

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

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

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

      private static final int field_49546
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49546 Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;field_49546:I
      intermediary field_49546 Lnet/minecraft/class_7551;field_49546:I
      official d Lfyj;d:I
    • field_49547

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

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

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

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

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

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

      final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49548 Lnet/minecraft/class_7551;field_49548:Lnet/minecraft/class_8132;
      official z Lfyj;z:Lfrt;
    • reportType

      final AbuseReportType reportType
      Mappings:
      Namespace Name Mixin selector
      named reportType Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reportType:Lnet/minecraft/client/session/report/AbuseReportType;
      intermediary field_52852 Lnet/minecraft/class_7551;field_52852:Lnet/minecraft/class_8776;
      official A Lfyj;A:Lggr;
  • Constructor Details

    • AbuseReportReasonScreen

      public AbuseReportReasonScreen(@Nullable @Nullable Screen parent, @Nullable @Nullable AbuseReportReason reason, AbuseReportType reportType, Consumer<AbuseReportReason> reasonConsumer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportReason;Lnet/minecraft/client/session/report/AbuseReportType;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_7551;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7573;Lnet/minecraft/class_8776;Ljava/util/function/Consumer;)V
      official <init> Lfyj;<init>(Lftx;Lggq;Lggr;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.

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

      protected void refreshWidgetPositions()
      Overrides:
      refreshWidgetPositions in class Screen
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lftx;c()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
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfpi;a(Lfnr;IIF)V
    • getLeft

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

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

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

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

      private int getWidth()
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getWidth()I
      intermediary method_57760 Lnet/minecraft/class_7551;method_57760()I
      official J Lfyj;J()I
    • getHeight

      private int getHeight()
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getHeight()I
      intermediary method_57761 Lnet/minecraft/class_7551;method_57761()I
      official K Lfyj;K()I
    • getReasonListHeight

      int getReasonListHeight()
      Mappings:
      Namespace Name Mixin selector
      named getReasonListHeight Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getReasonListHeight()I
      intermediary method_57762 Lnet/minecraft/class_7551;method_57762()I
      official L Lfyj;L()I
    • 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 aP_ Lftx;aP_()V