Class ChatSelectionScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • parent

      @Nullable private final @Nullable Screen parent
      Mappings:
      Namespace Name Mixin selector
      official a Leoh;a:Lekq;
      intermediary field_39584 Lnet/minecraft/class_7543;field_39584:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • reporter

      private final AbuseReporter reporter
      Mappings:
      Namespace Name Mixin selector
      official b Leoh;b:Leuq;
      intermediary field_39585 Lnet/minecraft/class_7543;field_39585:Lnet/minecraft/class_7574;
      named reporter Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;reporter:Lnet/minecraft/client/network/abusereport/AbuseReporter;
    • doneButton

      private ButtonWidget doneButton
      Mappings:
      Namespace Name Mixin selector
      official c Leoh;c:Legu;
      intermediary field_39586 Lnet/minecraft/class_7543;field_39586:Lnet/minecraft/class_4185;
      named doneButton Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • selectionList

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

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

      private final Consumer<ChatAbuseReport> newReportConsumer
      Mappings:
      Namespace Name Mixin selector
      official p Leoh;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/abusereport/ChatSelectionScreen;newReportConsumer:Ljava/util/function/Consumer;
    • listAdder

      private MessagesListAdder listAdder
      Mappings:
      Namespace Name Mixin selector
      official q Leoh;q:Leog;
      intermediary field_39590 Lnet/minecraft/class_7543;field_39590:Lnet/minecraft/class_7541;
      named listAdder Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;listAdder:Lnet/minecraft/client/network/abusereport/MessagesListAdder;
    • tooltip

      @Nullable private @Nullable List<OrderedText> tooltip
      Mappings:
      Namespace Name Mixin selector
      official r Leoh;r:Ljava/util/List;
      intermediary field_39591 Lnet/minecraft/class_7543;field_39591:Ljava/util/List;
      named tooltip Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;tooltip:Ljava/util/List;
  • Constructor Details

    • ChatSelectionScreen

      public ChatSelectionScreen(@Nullable @Nullable Screen parent, AbuseReporter reporter, ChatAbuseReport report, Consumer<ChatAbuseReport> newReportConsumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leoh;<init>(Lekq;Leuq;Leun;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/abusereport/ChatSelectionScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/network/abusereport/AbuseReporter;Lnet/minecraft/client/network/abusereport/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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lekq;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 Leoh;a(Leuj;)Z
      intermediary method_44495 Lnet/minecraft/class_7543;method_44495(Lnet/minecraft/class_7557;)Z
      named isSentByReportedPlayer Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;isSentByReportedPlayer(Lnet/minecraft/client/network/chat/ReceivedMessage;)Z
    • addMessages

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

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

      void setDoneButtonActivation()
      Mappings:
      Namespace Name Mixin selector
      official y Leoh;y()V
      intermediary method_44509 Lnet/minecraft/class_7543;method_44509()V
      named setDoneButtonActivation Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;setDoneButtonActivation()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leht;a(Ldzt;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • close

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

      void setTooltip(@Nullable @Nullable List<OrderedText> tooltip)
      Mappings:
      Namespace Name Mixin selector
      official b Leoh;b(Ljava/util/List;)V
      intermediary method_44498 Lnet/minecraft/class_7543;method_44498(Ljava/util/List;)V
      named setTooltip Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;setTooltip(Ljava/util/List;)V