Package net.minecraft.client.report.log
Class ChatLog
java.lang.Object
net.minecraft.client.report.log.ChatLog
A chat log holds received message entries with sequential indices, where
newer entries receive bigger indices. An implementation using fixed-size array
is available at
ChatLogImpl.
There are two types of entries.
is an entry containing only
the message's header, and is used for censored messages. invalid @link
HeaderEntryReceivedMessage
is an entry for full chat or game messages.
- Mappings:
Namespace Name official exvintermediary net/minecraft/class_7555named net/minecraft/client/report/log/ChatLog
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ChatLogEntry entry) Addsentryto the log.get(int index) Returns the entry with indexindex, ornullif there is no such entry in the log.intintprivate intmethod_45753(int int2)
-
Field Details
-
field_40496
- Mappings:
Namespace Name Mixin selector official aLexv;a:[Lexx;intermediary field_40496Lnet/minecraft/class_7555;field_40496:[Lnet/minecraft/class_7629;named field_40496Lnet/minecraft/client/report/log/ChatLog;field_40496:[Lnet/minecraft/client/report/log/ChatLogEntry;
-
field_40497
private int field_40497- Mappings:
Namespace Name Mixin selector official bLexv;b:Iintermediary field_40497Lnet/minecraft/class_7555;field_40497:Inamed field_40497Lnet/minecraft/client/report/log/ChatLog;field_40497:I
-
-
Constructor Details
-
ChatLog
public ChatLog(int int2)
-
-
Method Details
-
add
Addsentryto the log.- Mappings:
Namespace Name Mixin selector official aLexv;a(Lexx;)Vintermediary method_44535Lnet/minecraft/class_7555;method_44535(Lnet/minecraft/class_7629;)Vnamed addLnet/minecraft/client/report/log/ChatLog;add(Lnet/minecraft/client/report/log/ChatLogEntry;)V
-
get
Returns the entry with indexindex, ornullif there is no such entry in the log.- Returns:
- the entry with index
index, ornullif there is no such entry in the log - Mappings:
Namespace Name Mixin selector official aLexv;a(I)Lexx;intermediary method_44532Lnet/minecraft/class_7555;method_44532(I)Lnet/minecraft/class_7629;named getLnet/minecraft/client/report/log/ChatLog;get(I)Lnet/minecraft/client/report/log/ChatLogEntry;
-
method_45753
private int method_45753(int int2) - Mappings:
Namespace Name Mixin selector official bLexv;b(I)Iintermediary method_45753Lnet/minecraft/class_7555;method_45753(I)Inamed method_45753Lnet/minecraft/client/report/log/ChatLog;method_45753(I)I
-
method_45751
public int method_45751()- Mappings:
Namespace Name Mixin selector official aLexv;a()Iintermediary method_45751Lnet/minecraft/class_7555;method_45751()Inamed method_45751Lnet/minecraft/client/report/log/ChatLog;method_45751()I
-
method_45752
public int method_45752()- Mappings:
Namespace Name Mixin selector official bLexv;b()Iintermediary method_45752Lnet/minecraft/class_7555;method_45752()Inamed method_45752Lnet/minecraft/client/report/log/ChatLog;method_45752()I
-