yarn/mappings/net/minecraft/client/report/log/ChatLog.mapping

33 lines
1.3 KiB
Plaintext

CLASS net/minecraft/class_7555 net/minecraft/client/report/log/ChatLog
COMMENT A chat log holds received message entries with sequential indices, where
COMMENT newer entries receive bigger indices.
COMMENT
COMMENT <p>Currently there is only one type of entries; {@link ReceivedMessage}, which is
COMMENT an entry for full chat or game messages.
FIELD field_40496 entries [Lnet/minecraft/class_7629;
FIELD field_40497 currentIndex I
METHOD <init> (I)V
ARG 1 maxSize
METHOD <init> (ILjava/util/List;)V
ARG 1 size
ARG 2 entries
METHOD method_44532 get (I)Lnet/minecraft/class_7629;
COMMENT {@return the entry with index {@code index}, or {@code null} if there is no
COMMENT such entry in the log}
ARG 1 index
METHOD method_44535 add (Lnet/minecraft/class_7629;)V
COMMENT Adds {@code entry} to the log.
ARG 1 entry
METHOD method_45751 getMinIndex ()I
METHOD method_45752 getMaxIndex ()I
METHOD method_45753 wrapIndex (I)I
ARG 1 index
METHOD method_46533 createCodec (I)Lcom/mojang/serialization/Codec;
ARG 0 maxSize
METHOD method_46534 (II)[Lnet/minecraft/class_7629;
ARG 1 currentIndex
METHOD method_46535 (ILjava/util/List;)Lcom/mojang/serialization/DataResult;
ARG 1 entries
METHOD method_46536 toList ()Ljava/util/List;
METHOD method_46537 size ()I