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/ChatLogintermediary net/minecraft/class_7555official gaa
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsModifierConstructorDescriptionChatLog(int maxSize) privateChatLog(int size, List<ChatLogEntry> entries)  - 
Method Summary
Modifier 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 entriesLnet/minecraft/client/session/report/log/ChatLog;entries:[Lnet/minecraft/client/session/report/log/ChatLogEntry;intermediary field_40496Lnet/minecraft/class_7555;field_40496:[Lnet/minecraft/class_7629;official aLgaa;a:[Lgac;
 - 
currentIndex
private int currentIndex- Mappings:
 Namespace Name Mixin selector named currentIndexLnet/minecraft/client/session/report/log/ChatLog;currentIndex:Iintermediary field_40497Lnet/minecraft/class_7555;field_40497:Iofficial bLgaa;b:I
 
 - 
 - 
Constructor Details
- 
ChatLog
public ChatLog(int maxSize) - Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/session/report/log/ChatLog;<init>(I)Vintermediary <init>Lnet/minecraft/class_7555;<init>(I)Vofficial <init>Lgaa;<init>(I)V
 - 
ChatLog
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/session/report/log/ChatLog;<init>(ILjava/util/List;)Vintermediary <init>Lnet/minecraft/class_7555;<init>(ILjava/util/List;)Vofficial <init>Lgaa;<init>(ILjava/util/List;)V
 
 - 
 - 
Method Details
- 
createCodec
- Mappings:
 Namespace Name Mixin selector named createCodecLnet/minecraft/client/session/report/log/ChatLog;createCodec(I)Lcom/mojang/serialization/Codec;intermediary method_46533Lnet/minecraft/class_7555;method_46533(I)Lcom/mojang/serialization/Codec;official aLgaa;a(I)Lcom/mojang/serialization/Codec;
 - 
toList
- Mappings:
 Namespace Name Mixin selector named toListLnet/minecraft/client/session/report/log/ChatLog;toList()Ljava/util/List;intermediary method_46536Lnet/minecraft/class_7555;method_46536()Ljava/util/List;official cLgaa;c()Ljava/util/List;
 - 
add
Addsentryto the log.- Mappings:
 Namespace Name Mixin selector named addLnet/minecraft/client/session/report/log/ChatLog;add(Lnet/minecraft/client/session/report/log/ChatLogEntry;)Vintermediary method_44535Lnet/minecraft/class_7555;method_44535(Lnet/minecraft/class_7629;)Vofficial aLgaa;a(Lgac;)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 named getLnet/minecraft/client/session/report/log/ChatLog;get(I)Lnet/minecraft/client/session/report/log/ChatLogEntry;intermediary method_44532Lnet/minecraft/class_7555;method_44532(I)Lnet/minecraft/class_7629;official bLgaa;b(I)Lgac;
 - 
wrapIndex
private int wrapIndex(int index) - Mappings:
 Namespace Name Mixin selector named wrapIndexLnet/minecraft/client/session/report/log/ChatLog;wrapIndex(I)Iintermediary method_45753Lnet/minecraft/class_7555;method_45753(I)Iofficial cLgaa;c(I)I
 - 
getMinIndex
public int getMinIndex()- Mappings:
 Namespace Name Mixin selector named getMinIndexLnet/minecraft/client/session/report/log/ChatLog;getMinIndex()Iintermediary method_45751Lnet/minecraft/class_7555;method_45751()Iofficial aLgaa;a()I
 - 
getMaxIndex
public int getMaxIndex()- Mappings:
 Namespace Name Mixin selector named getMaxIndexLnet/minecraft/client/session/report/log/ChatLog;getMaxIndex()Iintermediary method_45752Lnet/minecraft/class_7555;method_45752()Iofficial bLgaa;b()I
 - 
size
private int size()- Mappings:
 Namespace Name Mixin selector named sizeLnet/minecraft/client/session/report/log/ChatLog;size()Iintermediary method_46537Lnet/minecraft/class_7555;method_46537()Iofficial dLgaa;d()I
 
 -