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.
Currently there is only one type of entries; ReceivedMessage, which is
an entry for full chat or game messages.
- Mappings:
Namespace Name official eycintermediary net/minecraft/class_7555named net/minecraft/client/report/log/ChatLog
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionChatLog(int size) privateChatLog(int int2, List<ChatLogEntry> list) -
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.intintstatic com.mojang.serialization.Codec<ChatLog>method_46533(int int2) private List<ChatLogEntry>private intprivate intwrapIndex(int index)
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector official aLeyc;a:[Leye;intermediary field_40496Lnet/minecraft/class_7555;field_40496:[Lnet/minecraft/class_7629;named entriesLnet/minecraft/client/report/log/ChatLog;entries:[Lnet/minecraft/client/report/log/ChatLogEntry;
-
currentIndex
private int currentIndex- Mappings:
Namespace Name Mixin selector official bLeyc;b:Iintermediary field_40497Lnet/minecraft/class_7555;field_40497:Inamed currentIndexLnet/minecraft/client/report/log/ChatLog;currentIndex:I
-
-
Constructor Details
-
ChatLog
public ChatLog(int size) - Mappings:
Namespace Name Mixin selector official <init>Leyc;<init>(I)Vintermediary <init>Lnet/minecraft/class_7555;<init>(I)Vnamed <init>Lnet/minecraft/client/report/log/ChatLog;<init>(I)V
-
ChatLog
-
-
Method Details
-
method_46533
- Mappings:
Namespace Name Mixin selector official aLeyc;a(I)Lcom/mojang/serialization/Codec;intermediary method_46533Lnet/minecraft/class_7555;method_46533(I)Lcom/mojang/serialization/Codec;named method_46533Lnet/minecraft/client/report/log/ChatLog;method_46533(I)Lcom/mojang/serialization/Codec;
-
method_46536
- Mappings:
Namespace Name Mixin selector official cLeyc;c()Ljava/util/List;intermediary method_46536Lnet/minecraft/class_7555;method_46536()Ljava/util/List;named method_46536Lnet/minecraft/client/report/log/ChatLog;method_46536()Ljava/util/List;
-
add
Addsentryto the log.- Mappings:
Namespace Name Mixin selector official aLeyc;a(Leye;)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 bLeyc;b(I)Leye;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;
-
wrapIndex
private int wrapIndex(int index) - Mappings:
Namespace Name Mixin selector official cLeyc;c(I)Iintermediary method_45753Lnet/minecraft/class_7555;method_45753(I)Inamed wrapIndexLnet/minecraft/client/report/log/ChatLog;wrapIndex(I)I
-
getMinIndex
public int getMinIndex()- Mappings:
Namespace Name Mixin selector official aLeyc;a()Iintermediary method_45751Lnet/minecraft/class_7555;method_45751()Inamed getMinIndexLnet/minecraft/client/report/log/ChatLog;getMinIndex()I
-
getMaxIndex
public int getMaxIndex()- Mappings:
Namespace Name Mixin selector official bLeyc;b()Iintermediary method_45752Lnet/minecraft/class_7555;method_45752()Inamed getMaxIndexLnet/minecraft/client/report/log/ChatLog;getMaxIndex()I
-
method_46537
private int method_46537()- Mappings:
Namespace Name Mixin selector official dLeyc;d()Iintermediary method_46537Lnet/minecraft/class_7555;method_46537()Inamed method_46537Lnet/minecraft/client/report/log/ChatLog;method_46537()I
-