Class ChatSelectionScreen.SelectionListWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable, Widget, MessagesListAdder.MessagesList
Enclosing class:
ChatSelectionScreen

Mappings:
Namespace Name
named net/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget
intermediary net/minecraft/class_7543$class_7544
official grn$a
  • Field Details

    • field_62185

      public static final int field_62185
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_62185 Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;field_62185:I
      intermediary field_62185 Lnet/minecraft/class_7543$class_7544;field_62185:I
      official a Lgrn$a;a:I
    • lastSenderEntryPair

      Mappings:
      Namespace Name Mixin selector
      named lastSenderEntryPair Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;lastSenderEntryPair:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntryPair;
      intermediary field_39593 Lnet/minecraft/class_7543$class_7544;field_39593:Lnet/minecraft/class_7543$class_7544$class_7547;
      official m Lgrn$a;m:Lgrn$a$c;
  • Constructor Details

    • SelectionListWidget

      public SelectionListWidget(MinecraftClient client, int contextMessagesHeight)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;<init>(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;Lnet/minecraft/client/MinecraftClient;I)V
      intermediary <init> Lnet/minecraft/class_7543$class_7544;<init>(Lnet/minecraft/class_7543;Lnet/minecraft/class_310;I)V
      official <init> Lgrn$a;<init>(Lgrn;Lfzz;I)V
  • Method Details

    • setScrollY

      public void setScrollY(double scrollY)
      Overrides:
      setScrollY in class EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      named setScrollY Lnet/minecraft/client/gui/widget/ScrollableWidget;setScrollY(D)V
      intermediary method_44382 Lnet/minecraft/class_7528;method_44382(D)V
      official a Lgdi;a(D)V
    • addMessage

      public void addMessage(int index, ReceivedMessage.ChatMessage message)
      Specified by:
      addMessage in interface MessagesListAdder.MessagesList
      Mappings:
      Namespace Name Mixin selector
      named addMessage Lnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addMessage(ILnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;)V
      intermediary method_44490 Lnet/minecraft/class_7541$class_7542;method_44490(ILnet/minecraft/class_7557$class_7558;)V
      official a Lgrm$a;a(ILhak$a;)V
    • addSenderEntry

      private void addSenderEntry(ReceivedMessage.ChatMessage message, boolean fromReportedPlayer)
      Mappings:
      Namespace Name Mixin selector
      named addSenderEntry Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;addSenderEntry(Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;Z)V
      intermediary method_44511 Lnet/minecraft/class_7543$class_7544;method_44511(Lnet/minecraft/class_7557$class_7558;Z)V
      official a Lgrn$a;a(Lhak$a;Z)V
    • addText

      public void addText(Text text)
      Specified by:
      addText in interface MessagesListAdder.MessagesList
      Mappings:
      Namespace Name Mixin selector
      named addText Lnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addText(Lnet/minecraft/text/Text;)V
      intermediary method_44492 Lnet/minecraft/class_7541$class_7542;method_44492(Lnet/minecraft/class_2561;)V
      official a Lgrm$a;a(Lxx;)V
    • getRowWidth

      public int getRowWidth()
      Overrides:
      getRowWidth in class EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
      intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
      official a Lgdj;a()I
    • getDisplayedItemCount

      public int getDisplayedItemCount()
      Mappings:
      Namespace Name Mixin selector
      named getDisplayedItemCount Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getDisplayedItemCount()I
      intermediary method_44513 Lnet/minecraft/class_7543$class_7544;method_44513()I
      official d Lgrn$a;d()I
    • renderEntry

      protected void renderEntry(DrawContext drawContext, int int2, int int3, float float2, ChatSelectionScreen.SelectionListWidget.Entry entry)
      Overrides:
      renderEntry in class EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      named renderEntry Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;renderEntry(Lnet/minecraft/client/gui/DrawContext;IIFLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)V
      intermediary method_73447 Lnet/minecraft/class_7543$class_7544;method_73447(Lnet/minecraft/class_332;IIFLnet/minecraft/class_7543$class_7544$class_7546;)V
      official a Lgrn$a;a(Lgdd;IIFLgrn$a$b;)V
    • shouldHighlight

      private boolean shouldHighlight(ChatSelectionScreen.SelectionListWidget.Entry entry)
      Mappings:
      Namespace Name Mixin selector
      named shouldHighlight Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;shouldHighlight(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)Z
      intermediary method_44693 Lnet/minecraft/class_7543$class_7544;method_44693(Lnet/minecraft/class_7543$class_7544$class_7546;)Z
      official b Lgrn$a;b(Lgrn$a$b;)Z
    • getNeighboringEntry

      @Nullable protected @Nullable ChatSelectionScreen.SelectionListWidget.Entry getNeighboringEntry(NavigationDirection navigationDirection)
      Overrides:
      getNeighboringEntry in class EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      named getNeighboringEntry Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getNeighboringEntry(Lnet/minecraft/client/gui/navigation/NavigationDirection;)Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;
      intermediary method_48284 Lnet/minecraft/class_7543$class_7544;method_48284(Lnet/minecraft/class_8028;)Lnet/minecraft/class_7543$class_7544$class_7546;
      official b Lgrn$a;b(Lgjs;)Lgrn$a$b;
    • setSelected

      Overrides:
      setSelected in class EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      named setSelected Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;setSelected(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)V
      intermediary method_48283 Lnet/minecraft/class_7543$class_7544;method_48283(Lnet/minecraft/class_7543$class_7544$class_7546;)V
      official a Lgrn$a;a(Lgrn$a$b;)V
    • keyPressed

      public boolean keyPressed(KeyInput input)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Z
      official a Lggw;a(Lgth;)Z
    • getContextMessageY

      public int getContextMessageY()
      Mappings:
      Namespace Name Mixin selector
      named getContextMessageY Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getContextMessageY()I
      intermediary method_44665 Lnet/minecraft/class_7543$class_7544;method_44665()I
      official H Lgrn$a;H()I