Class ChatSelectionScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • CHECKMARK_ICON_TEXTURE

      static final Identifier CHECKMARK_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named CHECKMARK_ICON_TEXTURE Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CHECKMARK_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45559 Lnet/minecraft/class_7543;field_45559:Lnet/minecraft/class_2960;
      official a Lfyg;a:Lalz;
    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_39727 Lnet/minecraft/class_7543;field_39727:Lnet/minecraft/class_2561;
      official b Lfyg;b:Lxv;
    • CONTEXT_TEXT

      private static final Text CONTEXT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named CONTEXT_TEXT Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CONTEXT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_39728 Lnet/minecraft/class_7543;field_39728:Lnet/minecraft/class_2561;
      official c Lfyg;c:Lxv;
    • parent

      @Nullable private final @Nullable Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_39584 Lnet/minecraft/class_7543;field_39584:Lnet/minecraft/class_437;
      official d Lfyg;d:Lftx;
    • reporter

      private final AbuseReportContext reporter
      Mappings:
      Namespace Name Mixin selector
      named reporter Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;reporter:Lnet/minecraft/client/session/report/AbuseReportContext;
      intermediary field_39585 Lnet/minecraft/class_7543;field_39585:Lnet/minecraft/class_7574;
      official s Lfyg;s:Lggs;
    • doneButton

      private ButtonWidget doneButton
      Mappings:
      Namespace Name Mixin selector
      named doneButton Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_39586 Lnet/minecraft/class_7543;field_39586:Lnet/minecraft/class_4185;
      official u Lfyg;u:Lfoe;
    • contextMessage

      private MultilineText contextMessage
      Mappings:
      Namespace Name Mixin selector
      named contextMessage Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;contextMessage:Lnet/minecraft/client/font/MultilineText;
      intermediary field_39729 Lnet/minecraft/class_7543;field_39729:Lnet/minecraft/class_5489;
      official v Lfyg;v:Lfoy;
    • selectionList

      Mappings:
      Namespace Name Mixin selector
      named selectionList Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;selectionList:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;
      intermediary field_39587 Lnet/minecraft/class_7543;field_39587:Lnet/minecraft/class_7543$class_7544;
      official w Lfyg;w:Lfyg$a;
    • report

      Mappings:
      Namespace Name Mixin selector
      named report Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;report:Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;
      intermediary field_39588 Lnet/minecraft/class_7543;field_39588:Lnet/minecraft/class_7566$class_8772;
      official x Lfyg;x:Lggl$a;
    • newReportConsumer

      private final Consumer<ChatAbuseReport.Builder> newReportConsumer
      Mappings:
      Namespace Name Mixin selector
      named newReportConsumer Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;newReportConsumer:Ljava/util/function/Consumer;
      intermediary field_39589 Lnet/minecraft/class_7543;field_39589:Ljava/util/function/Consumer;
      official y Lfyg;y:Ljava/util/function/Consumer;
    • listAdder

      private MessagesListAdder listAdder
      Mappings:
      Namespace Name Mixin selector
      named listAdder Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;listAdder:Lnet/minecraft/client/session/report/MessagesListAdder;
      intermediary field_39590 Lnet/minecraft/class_7543;field_39590:Lnet/minecraft/class_7541;
      official z Lfyg;z:Lfyf;
  • Constructor Details

    • ChatSelectionScreen

      public ChatSelectionScreen(@Nullable @Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport.Builder report, Consumer<ChatAbuseReport.Builder> newReportConsumer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_7543;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566$class_8772;Ljava/util/function/Consumer;)V
      official <init> Lfyg;<init>(Lftx;Lggs;Lggl$a;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
    • isSentByReportedPlayer

      private boolean isSentByReportedPlayer(ReceivedMessage message)
      Mappings:
      Namespace Name Mixin selector
      named isSentByReportedPlayer Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;isSentByReportedPlayer(Lnet/minecraft/client/session/report/log/ReceivedMessage;)Z
      intermediary method_44495 Lnet/minecraft/class_7543;method_44495(Lnet/minecraft/class_7557;)Z
      official a Lfyg;a(Lggh;)Z
    • addMessages

      private void addMessages()
      Mappings:
      Namespace Name Mixin selector
      named addMessages Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMessages()V
      intermediary method_44504 Lnet/minecraft/class_7543;method_44504()V
      official l Lfyg;l()V
    • addMoreMessages

      void addMoreMessages()
      Mappings:
      Namespace Name Mixin selector
      named addMoreMessages Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMoreMessages()V
      intermediary method_44507 Lnet/minecraft/class_7543;method_44507()V
      official E Lfyg;E()V
    • setDoneButtonActivation

      void setDoneButtonActivation()
      Mappings:
      Namespace Name Mixin selector
      named setDoneButtonActivation Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;setDoneButtonActivation()V
      intermediary method_44509 Lnet/minecraft/class_7543;method_44509()V
      official F Lfyg;F()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
    • 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
    • getNarratedTitle

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      named getNarratedTitle Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      official i Lftx;i()Lxv;