net.minecraft.client

public class CommandHistory

flt
net.minecraft.client.CommandHistory
net.minecraft.class_8657
net.minecraft.client.util.CommandHistoryManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_45287
LOGGER
private static final int
b
MAX_PERSISTED_COMMAND_HISTORY
field_45288
MAX_SIZE
private static final String
c
PERSISTED_COMMANDS_FILE_NAME
field_45289
FILENAME
private final Path
d
commandsPath
field_45290
path
private final ArrayListDeque<String>
e
lastCommands
field_45291
history

Constructor summary

ModifierConstructor
public (Path directoryPath)

Method summary

Modifier and TypeMethod
public void
a(String arg0)
addCommand(String arg0)
method_52697(String arg0)
add(String command)
private void
b()
save()
method_52698()
write()
public Collection<String>
a()
history()
method_52696()
getHistory()