Class ChatSelectionScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      official a Leyo;a:Lsw;
      intermediary field_39727 Lnet/minecraft/class_7543;field_39727:Lnet/minecraft/class_2561;
      named TITLE Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;TITLE:Lnet/minecraft/text/Text;
    • CONTEXT_MESSAGE

      private static final Text CONTEXT_MESSAGE
      Mappings:
      Namespace Name Mixin selector
      official b Leyo;b:Lsw;
      intermediary field_39728 Lnet/minecraft/class_7543;field_39728:Lnet/minecraft/class_2561;
      named CONTEXT_MESSAGE Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CONTEXT_MESSAGE:Lnet/minecraft/text/Text;
    • parent

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

      private final AbuseReportContext reporter
      Mappings:
      Namespace Name Mixin selector
      official k Leyo;k:Lffs;
      intermediary field_39585 Lnet/minecraft/class_7543;field_39585:Lnet/minecraft/class_7574;
      named reporter Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;reporter:Lnet/minecraft/client/report/AbuseReportContext;
    • doneButton

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

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

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

      final ChatAbuseReport report
      Mappings:
      Namespace Name Mixin selector
      official o Leyo;o:Lffo;
      intermediary field_39588 Lnet/minecraft/class_7543;field_39588:Lnet/minecraft/class_7566;
      named report Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;report:Lnet/minecraft/client/report/ChatAbuseReport;
    • newReportConsumer

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

      private MessagesListAdder listAdder
      Mappings:
      Namespace Name Mixin selector
      official q Leyo;q:Leyn;
      intermediary field_39590 Lnet/minecraft/class_7543;field_39590:Lnet/minecraft/class_7541;
      named listAdder Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;listAdder:Lnet/minecraft/client/report/MessagesListAdder;
  • Constructor Details

    • ChatSelectionScreen

      public ChatSelectionScreen(@Nullable @Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport report, Consumer<ChatAbuseReport> newReportConsumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyo;<init>(Leuq;Lffs;Lffo;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_7543;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566;Ljava/util/function/Consumer;)V
      named <init> Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Lnet/minecraft/client/report/ChatAbuseReport;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 b Leuq;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • isSentByReportedPlayer

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

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

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

      void setDoneButtonActivation()
      Mappings:
      Namespace Name Mixin selector
      official C Leyo;C()V
      intermediary method_44509 Lnet/minecraft/class_7543;method_44509()V
      named setDoneButtonActivation Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;setDoneButtonActivation()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 Leqh;a(Leox;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
    • close

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

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