Class ChatLog
java.lang.Object
net.minecraft.client.multiplayer.chat.ChatLog
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionChatLog(int capacity) privateChatLog(int capacity, List<LoggedChatEvent> buffer) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<ChatLog> codec(int capacity) intend()private intindex(int id) private List<LoggedChatEvent> @Nullable LoggedChatEventlookup(int id) voidpush(LoggedChatEvent event) private intsize()intstart()
-
Field Details
-
buffer
-
nextId
private int nextId
-
-
Constructor Details
-
ChatLog
public ChatLog(int capacity) -
ChatLog
-
-
Method Details
-
codec
-
loggedChatEvents
-
push
-
lookup
-
index
private int index(int id) -
start
public int start() -
end
public int end() -
size
private int size()
-