net.minecraft.client

public class CommandHistory

few
net.minecraft.client.CommandHistory
net.minecraft.class_8657
net.minecraft.client.util.CommandHistoryManager
net.minecraft.src.C_290178_

Field summary

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

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)
m_294229_(String arg0)
private void
b()
save()
method_52698()
write()
m_295124_()
public Collection<String>
a()
history()
method_52696()
getHistory()
m_295381_()