Class ChatLog
java.lang.Object
net.minecraft.client.session.report.log.ChatLog
A chat log holds received message entries with sequential indices, where
 newer entries receive bigger indices.
 
Currently there is only one type of entries; ReceivedMessage, which is
 an entry for full chat or game messages.
- Mappings:
- Namespace - Name - named - net/minecraft/client/session/report/log/ChatLog- intermediary - net/minecraft/class_7555- official - ggv
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionChatLog(int maxSize) privateChatLog(int size, List<ChatLogEntry> entries) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(ChatLogEntry entry) Addsentryto the log.static com.mojang.serialization.Codec<ChatLog> createCodec(int maxSize) get(int index) Returns the entry with indexindex, ornullif there is no such entry in the log.intintprivate intsize()private List<ChatLogEntry> toList()private intwrapIndex(int index) 
- 
Field Details- 
entries- Mappings:
- Namespace - Name - Mixin selector - named - entries- Lnet/minecraft/client/session/report/log/ChatLog;entries:[Lnet/minecraft/client/session/report/log/ChatLogEntry;- intermediary - field_40496- Lnet/minecraft/class_7555;field_40496:[Lnet/minecraft/class_7629;- official - a- Lggv;a:[Lggx;
 
- 
currentIndexprivate int currentIndex- Mappings:
- Namespace - Name - Mixin selector - named - currentIndex- Lnet/minecraft/client/session/report/log/ChatLog;currentIndex:I- intermediary - field_40497- Lnet/minecraft/class_7555;field_40497:I- official - b- Lggv;b:I
 
 
- 
- 
Constructor Details- 
ChatLogpublic ChatLog(int maxSize) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/session/report/log/ChatLog;<init>(I)V- intermediary - <init>- Lnet/minecraft/class_7555;<init>(I)V- official - <init>- Lggv;<init>(I)V
 
- 
ChatLog- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/session/report/log/ChatLog;<init>(ILjava/util/List;)V- intermediary - <init>- Lnet/minecraft/class_7555;<init>(ILjava/util/List;)V- official - <init>- Lggv;<init>(ILjava/util/List;)V
 
 
- 
- 
Method Details- 
createCodec- Mappings:
- Namespace - Name - Mixin selector - named - createCodec- Lnet/minecraft/client/session/report/log/ChatLog;createCodec(I)Lcom/mojang/serialization/Codec;- intermediary - method_46533- Lnet/minecraft/class_7555;method_46533(I)Lcom/mojang/serialization/Codec;- official - a- Lggv;a(I)Lcom/mojang/serialization/Codec;
 
- 
toList- Mappings:
- Namespace - Name - Mixin selector - named - toList- Lnet/minecraft/client/session/report/log/ChatLog;toList()Ljava/util/List;- intermediary - method_46536- Lnet/minecraft/class_7555;method_46536()Ljava/util/List;- official - c- Lggv;c()Ljava/util/List;
 
- 
addAddsentryto the log.- Mappings:
- Namespace - Name - Mixin selector - named - add- Lnet/minecraft/client/session/report/log/ChatLog;add(Lnet/minecraft/client/session/report/log/ChatLogEntry;)V- intermediary - method_44535- Lnet/minecraft/class_7555;method_44535(Lnet/minecraft/class_7629;)V- official - a- Lggv;a(Lggx;)V
 
- 
getReturns 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 - named - get- Lnet/minecraft/client/session/report/log/ChatLog;get(I)Lnet/minecraft/client/session/report/log/ChatLogEntry;- intermediary - method_44532- Lnet/minecraft/class_7555;method_44532(I)Lnet/minecraft/class_7629;- official - b- Lggv;b(I)Lggx;
 
- 
wrapIndexprivate int wrapIndex(int index) - Mappings:
- Namespace - Name - Mixin selector - named - wrapIndex- Lnet/minecraft/client/session/report/log/ChatLog;wrapIndex(I)I- intermediary - method_45753- Lnet/minecraft/class_7555;method_45753(I)I- official - c- Lggv;c(I)I
 
- 
getMinIndexpublic int getMinIndex()- Mappings:
- Namespace - Name - Mixin selector - named - getMinIndex- Lnet/minecraft/client/session/report/log/ChatLog;getMinIndex()I- intermediary - method_45751- Lnet/minecraft/class_7555;method_45751()I- official - a- Lggv;a()I
 
- 
getMaxIndexpublic int getMaxIndex()- Mappings:
- Namespace - Name - Mixin selector - named - getMaxIndex- Lnet/minecraft/client/session/report/log/ChatLog;getMaxIndex()I- intermediary - method_45752- Lnet/minecraft/class_7555;method_45752()I- official - b- Lggv;b()I
 
- 
sizeprivate int size()- Mappings:
- Namespace - Name - Mixin selector - named - size- Lnet/minecraft/client/session/report/log/ChatLog;size()I- intermediary - method_46537- Lnet/minecraft/class_7555;method_46537()I- official - d- Lggv;d()I
 
 
-