Class MessagesListAdder

java.lang.Object
net.minecraft.client.session.report.MessagesListAdder

@Environment(CLIENT) public class MessagesListAdder extends Object
Mappings:
Namespace Name
official fhb
intermediary net/minecraft/class_7541
named net/minecraft/client/session/report/MessagesListAdder
  • Field Details

    • log

      private final ChatLog log
      Mappings:
      Namespace Name Mixin selector
      official a Lfhb;a:Lfoh;
      intermediary field_39581 Lnet/minecraft/class_7541;field_39581:Lnet/minecraft/class_7555;
      named log Lnet/minecraft/client/session/report/MessagesListAdder;log:Lnet/minecraft/client/session/report/log/ChatLog;
    • contextMessageCollector

      private final ContextMessageCollector contextMessageCollector
      Mappings:
      Namespace Name Mixin selector
      official b Lfhb;b:Lfop;
      intermediary field_40439 Lnet/minecraft/class_7541;field_40439:Lnet/minecraft/class_7757;
      named contextMessageCollector Lnet/minecraft/client/session/report/MessagesListAdder;contextMessageCollector:Lnet/minecraft/client/session/report/ContextMessageCollector;
    • reportablePredicate

      private final Predicate<ReceivedMessage.ChatMessage> reportablePredicate
      Mappings:
      Namespace Name Mixin selector
      official c Lfhb;c:Ljava/util/function/Predicate;
      intermediary field_39582 Lnet/minecraft/class_7541;field_39582:Ljava/util/function/Predicate;
      named reportablePredicate Lnet/minecraft/client/session/report/MessagesListAdder;reportablePredicate:Ljava/util/function/Predicate;
    • maxLogIndex

      private int maxLogIndex
      Mappings:
      Namespace Name Mixin selector
      official e Lfhb;e:I
      intermediary field_40440 Lnet/minecraft/class_7541;field_40440:I
      named maxLogIndex Lnet/minecraft/client/session/report/MessagesListAdder;maxLogIndex:I
    • foldedMessageCount

      private int foldedMessageCount
      Mappings:
      Namespace Name Mixin selector
      official f Lfhb;f:I
      intermediary field_40441 Lnet/minecraft/class_7541;field_40441:I
      named foldedMessageCount Lnet/minecraft/client/session/report/MessagesListAdder;foldedMessageCount:I
    • lastMessage

      @Nullable private @Nullable SignedMessage lastMessage
      Mappings:
      Namespace Name Mixin selector
      official g Lfhb;g:Lvv;
      intermediary field_40442 Lnet/minecraft/class_7541;field_40442:Lnet/minecraft/class_7471;
      named lastMessage Lnet/minecraft/client/session/report/MessagesListAdder;lastMessage:Lnet/minecraft/network/message/SignedMessage;
  • Constructor Details

    • MessagesListAdder

      public MessagesListAdder(AbuseReportContext context, Predicate<ReceivedMessage.ChatMessage> reportablePredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfhb;<init>(Lfow;Ljava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_7541;<init>(Lnet/minecraft/class_7574;Ljava/util/function/Predicate;)V
      named <init> Lnet/minecraft/client/session/report/MessagesListAdder;<init>(Lnet/minecraft/client/session/report/AbuseReportContext;Ljava/util/function/Predicate;)V
  • Method Details

    • add

      public void add(int minAmount, MessagesListAdder.MessagesList messages)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhb;a(ILfhb$a;)V
      intermediary method_44486 Lnet/minecraft/class_7541;method_44486(ILnet/minecraft/class_7541$class_7542;)V
      named add Lnet/minecraft/client/session/report/MessagesListAdder;add(ILnet/minecraft/client/session/report/MessagesListAdder$MessagesList;)V
    • tryAdd

      private boolean tryAdd(MessagesListAdder.MessagesList messages, ReceivedMessage.ChatMessage message)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhb;a(Lfhb$a;Lfok$a;)Z
      intermediary method_45664 Lnet/minecraft/class_7541;method_45664(Lnet/minecraft/class_7541$class_7542;Lnet/minecraft/class_7557$class_7558;)Z
      named tryAdd Lnet/minecraft/client/session/report/MessagesListAdder;tryAdd(Lnet/minecraft/client/session/report/MessagesListAdder$MessagesList;Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;)Z