Uses of Interface
net.minecraft.client.report.log.ChatLogEntry
-
Uses of ChatLogEntry in net.minecraft.client.report.log
Modifier and TypeClassDescriptionstatic final record
ChatLog.IndexedEntry<T extends ChatLogEntry>
A pair of the entry's index and the entry itself.Modifier and TypeInterfaceDescriptioninterface
An entry ofChatLog
containing only the message header.interface
A message received by the client and stored inChatLog
.Modifier and TypeClassDescriptionstatic final record
static final record
A chat message received by the client.static final record
A game message received by the client.Modifier and TypeFieldDescriptionprivate final ChatLogEntry[]
ChatLogImpl.entries
private final T
ChatLog.IndexedEntry.entry
The field for theentry
record component.Modifier and TypeMethodDescription<U extends ChatLogEntry>
@Nullable ChatLog.IndexedEntry<U>Returns the indexed entry with the entry instance cast toclazz
, ornull
if it cannot be cast.Modifier and TypeMethodDescriptionChatLog.get
(int index) Returns the entry with indexindex
, ornull
if there is no such entry in the log.ChatLogImpl.get
(int index) Returns the entry with indexindex
, ornull
if there is no such entry in the log.Modifier and TypeMethodDescriptiondefault @Nullable ChatLog.IndexedEntry<ChatLogEntry>
ChatLog.getIndexed
(int index) Returns the indexed entry with indexindex
, ornull
if there is no such entry in the log.ChatLog.Streams.streamIndexedEntries()
Returns the stream of indexed log entries.ChatLog.Streams.streamLogEntries()
Returns the stream of log entries.Modifier and TypeMethodDescriptionvoid
ChatLog.add
(ChatLogEntry entry) Addsentry
to the log.void
ChatLogImpl.add
(ChatLogEntry entry) Addsentry
to the log.