Package net.minecraft.client
Class CommandHistory
java.lang.Object
net.minecraft.client.CommandHistory
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Path
private final ArrayListDeque
<String> private static final org.slf4j.Logger
private static final int
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommand
(String p_298813_) history()
private void
save()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MAX_PERSISTED_COMMAND_HISTORY
private static final int MAX_PERSISTED_COMMAND_HISTORY- See Also:
-
PERSISTED_COMMANDS_FILE_NAME
- See Also:
-
commandsPath
-
lastCommands
-
-
Constructor Details
-
CommandHistory
-
-
Method Details
-
addCommand
-
save
private void save() -
history
-