Class ChatLog.Streams

java.lang.Object
net.minecraft.client.report.ChatLog.Streams
Enclosing interface:
ChatLog

@Environment(CLIENT) public static class ChatLog.Streams extends Object
A set of streams of logged messages.
Mappings:
Namespace Name
official euk$a
intermediary net/minecraft/class_7555$class_7556
named net/minecraft/client/report/ChatLog$Streams
  • Field Details

    • CHARACTERISTICS

      private static final int CHARACTERISTICS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuk$a;a:I
      intermediary field_39634 Lnet/minecraft/class_7555$class_7556;field_39634:I
      named CHARACTERISTICS Lnet/minecraft/client/report/ChatLog$Streams;CHARACTERISTICS:I
    • log

      private final ChatLog log
      Mappings:
      Namespace Name Mixin selector
      official b Leuk$a;b:Leuk;
      intermediary field_39635 Lnet/minecraft/class_7555$class_7556;field_39635:Lnet/minecraft/class_7555;
      named log Lnet/minecraft/client/report/ChatLog$Streams;log:Lnet/minecraft/client/report/ChatLog;
    • indicesIterator

      private final PrimitiveIterator.OfInt indicesIterator
      Mappings:
      Namespace Name Mixin selector
      official c Leuk$a;c:Ljava/util/PrimitiveIterator$OfInt;
      intermediary field_39636 Lnet/minecraft/class_7555$class_7556;field_39636:Ljava/util/PrimitiveIterator$OfInt;
      named indicesIterator Lnet/minecraft/client/report/ChatLog$Streams;indicesIterator:Ljava/util/PrimitiveIterator$OfInt;
  • Constructor Details

    • Streams

      Streams(ChatLog log, PrimitiveIterator.OfInt indicesIterator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leuk$a;<init>(Leuk;Ljava/util/PrimitiveIterator$OfInt;)V
      intermediary <init> Lnet/minecraft/class_7555$class_7556;<init>(Lnet/minecraft/class_7555;Ljava/util/PrimitiveIterator$OfInt;)V
      named <init> Lnet/minecraft/client/report/ChatLog$Streams;<init>(Lnet/minecraft/client/report/ChatLog;Ljava/util/PrimitiveIterator$OfInt;)V
  • Method Details

    • streamIndices

      public IntStream streamIndices()
      Returns the stream of message indices.
      Returns:
      the stream of message indices
      Mappings:
      Namespace Name Mixin selector
      official a Leuk$a;a()Ljava/util/stream/IntStream;
      intermediary method_44548 Lnet/minecraft/class_7555$class_7556;method_44548()Ljava/util/stream/IntStream;
      named streamIndices Lnet/minecraft/client/report/ChatLog$Streams;streamIndices()Ljava/util/stream/IntStream;
    • streamMessages

      public Stream<ReceivedMessage> streamMessages()
      Returns the stream of messages.

      If for some reason the index is no longer present in the log, such messages are ignored.

      Returns:
      the stream of messages
      Mappings:
      Namespace Name Mixin selector
      official b Leuk$a;b()Ljava/util/stream/Stream;
      intermediary method_44549 Lnet/minecraft/class_7555$class_7556;method_44549()Ljava/util/stream/Stream;
      named streamMessages Lnet/minecraft/client/report/ChatLog$Streams;streamMessages()Ljava/util/stream/Stream;
    • collectSenderProfiles

      public Collection<com.mojang.authlib.GameProfile> collectSenderProfiles()
      Returns the collection of profiles of message senders.

      This ignores game messages, and the returned collection has no duplicates.

      Returns:
      the collection of profiles of message senders
      Mappings:
      Namespace Name Mixin selector
      official c Leuk$a;c()Ljava/util/Collection;
      intermediary method_44704 Lnet/minecraft/class_7555$class_7556;method_44704()Ljava/util/Collection;
      named collectSenderProfiles Lnet/minecraft/client/report/ChatLog$Streams;collectSenderProfiles()Ljava/util/Collection;
    • streamIndexedMessages

      public Stream<ReceivedMessage.IndexedMessage> streamIndexedMessages()
      Returns the stream of indexed messages.

      If for some reason the index is no longer present in the log, such messages are ignored.

      Returns:
      the stream of indexed messages
      Mappings:
      Namespace Name Mixin selector
      official d Leuk$a;d()Ljava/util/stream/Stream;
      intermediary method_44550 Lnet/minecraft/class_7555$class_7556;method_44550()Ljava/util/stream/Stream;
      named streamIndexedMessages Lnet/minecraft/client/report/ChatLog$Streams;streamIndexedMessages()Ljava/util/stream/Stream;