Package net.minecraft.client.report.log
Class ChatLogImpl
java.lang.Object
net.minecraft.client.report.log.ChatLogImpl
An implementation of
ChatLog using a fixed-size array and 0 as the
starting index. When adding a log, the index is incremented, and the entry at the
index is overwritten. If the index goes above the array size, the array index wraps
around but the entry index is still incremented.
For example, if the size is 10, after adding the 10th item, the next index is
10 because the log is 0-indexed. However, the next message will be stored at
messages[0]. Use
to calculate the wrapped index.invalid @link
#wrapIndex
- Mappings:
Namespace Name official suintermediary net/minecraft/class_7561named net/minecraft/client/report/log/ChatLogImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatLogImplprivate voidmethod_46283(ArrayDeque<MessageSignatureData> arrayDeque) (package private) voidmethod_46284(List<MessageSignatureData> list) voidmethod_46286(SignedMessage signedMessage)
-
Field Details
-
field_40686
private static final int field_40686- See Also:
- Mappings:
Namespace Name Mixin selector official aLsu;a:Iintermediary field_40686Lnet/minecraft/class_7561;field_40686:Inamed field_40686Lnet/minecraft/client/report/log/ChatLogImpl;field_40686:I
-
field_40687
- Mappings:
Namespace Name Mixin selector official bLsu;b:[Lst;intermediary field_40687Lnet/minecraft/class_7561;field_40687:[Lnet/minecraft/class_7469;named field_40687Lnet/minecraft/client/report/log/ChatLogImpl;field_40687:[Lnet/minecraft/network/message/MessageSignatureData;
-
-
Constructor Details
-
ChatLogImpl
public ChatLogImpl(int maxEntries) - Mappings:
Namespace Name Mixin selector official <init>Lsu;<init>(I)Vintermediary <init>Lnet/minecraft/class_7561;<init>(I)Vnamed <init>Lnet/minecraft/client/report/log/ChatLogImpl;<init>(I)V
-
-
Method Details
-
method_46281
- Mappings:
Namespace Name Mixin selector official aLsu;a()Lsu;intermediary method_46281Lnet/minecraft/class_7561;method_46281()Lnet/minecraft/class_7561;named method_46281Lnet/minecraft/client/report/log/ChatLogImpl;method_46281()Lnet/minecraft/client/report/log/ChatLogImpl;
-
method_46287
- Mappings:
Namespace Name Mixin selector official bLsu;b()Lst$b;intermediary method_46287Lnet/minecraft/class_7561;method_46287()Lnet/minecraft/class_7469$class_7820;named method_46287Lnet/minecraft/client/report/log/ChatLogImpl;method_46287()Lnet/minecraft/network/message/MessageSignatureData$class_7820;
-
method_46288
- Mappings:
Namespace Name Mixin selector official cLsu;c()Lst$c;intermediary method_46288Lnet/minecraft/class_7561;method_46288()Lnet/minecraft/class_7469$class_7821;named method_46288Lnet/minecraft/client/report/log/ChatLogImpl;method_46288()Lnet/minecraft/network/message/MessageSignatureData$class_7821;
-
method_46286
- Mappings:
Namespace Name Mixin selector official aLsu;a(Lsx;)Vintermediary method_46286Lnet/minecraft/class_7561;method_46286(Lnet/minecraft/class_7471;)Vnamed method_46286Lnet/minecraft/client/report/log/ChatLogImpl;method_46286(Lnet/minecraft/network/message/SignedMessage;)V
-
method_46284
- Mappings:
Namespace Name Mixin selector official aLsu;a(Ljava/util/List;)Vintermediary method_46284Lnet/minecraft/class_7561;method_46284(Ljava/util/List;)Vnamed method_46284Lnet/minecraft/client/report/log/ChatLogImpl;method_46284(Ljava/util/List;)V
-
method_46283
- Mappings:
Namespace Name Mixin selector official aLsu;a(Ljava/util/ArrayDeque;)Vintermediary method_46283Lnet/minecraft/class_7561;method_46283(Ljava/util/ArrayDeque;)Vnamed method_46283Lnet/minecraft/client/report/log/ChatLogImpl;method_46283(Ljava/util/ArrayDeque;)V
-