Class Commands
java.lang.Object
net.minheur.potoflux.terminal.commands.Commands
Registry of all commands of potoflux
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SmartSupplier<Command>Command for theasciicommand.static final SmartSupplier<Command>Command for theclearcommand.static final SmartSupplier<Command>Command for theechocommand.static final SmartSupplier<Command>Command for thehellocommand.static final SmartSupplier<Command>Command for thehelpcommand.static final SmartSupplier<Command>Command for thehidecommand.
It's hiddenstatic final SmartSupplier<Command>Command for thelogDircommand.static final SmartSupplier<Command>Command for themodDircommand.static final SmartSupplier<Command>Command for themodListcommand.static final SmartSupplier<Command>Command for thenopecommand.
It's hiddenstatic final SmartSupplier<Command>An Easter egg for Mathis (aka.static final SmartSupplier<Command>Command for thequitcommand.static final SmartSupplier<Command>Command for thesourcecommand.static final SmartSupplier<Command>Command for thetabcommand.static final SmartSupplier<Command>Command for thetabListcommand.static final SmartSupplier<Command>Command for thetimecommand.static final SmartSupplier<Command>Command for theptfVersioncommand. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(RegisterCommandsEvent event) Registers the commands to the reg
-
Field Details
-
HELLO_WORLD
Command for thehellocommand. -
CLEAR
Command for theclearcommand. -
MOD_LIST
Command for themodListcommand. -
MOD_DIR
Command for themodDircommand. -
LOG_DIR
Command for thelogDircommand. -
TIME
Command for thetimecommand. -
HELP
Command for thehelpcommand. -
ECHO
Command for theechocommand. -
TAB
Command for thetabcommand. -
TAB_LIST
Command for thetabListcommand. -
SOURCE
Command for thesourcecommand. -
VERSION
Command for theptfVersioncommand. -
ASCII
Command for theasciicommand. -
QUIT
Command for thequitcommand. -
HIDDEN
Command for thehidecommand.
It's hidden -
NOPE
Command for thenopecommand.
It's hidden -
POTATO_COMMAND
An Easter egg for Mathis (aka. Maggacco666)
-
-
Constructor Details
-
Commands
public Commands()
-
-
Method Details
-
register
Registers the commands to the reg- Parameters:
event- the event to register commands to
-