Class Commands
java.lang.Object
net.minheur.potoflux.terminal.commands.Commands
Registry of all commands of potoflux
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CommandCommand for theasciicommand.final CommandCommand for theclearcommand.final CommandCommand for theechocommand.final CommandCommand for thehellocommand.final CommandCommand for thehelpcommand.final CommandCommand for thehidecommand.
It's hiddenstatic CommandsThe only instance of the reg that should existfinal Commandfinal CommandCommand for themodDircommand.final CommandCommand for themodListcommand.final CommandCommand for thenopecommand.
It's hiddenfinal CommandAn Easter egg for Mathis (aka.final CommandCommand for thequitcommand.final CommandCommand for thesourcecommand.final CommandCommand for thetabcommand.final CommandCommand for thetabListcommand.final CommandCommand for thetimecommand.final CommandCommand for theptfVersioncommand. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(RegisterCommandsEvent event) Registers the commands to the reg
-
Field Details
-
INSTANCE
The only instance of the reg that should exist -
HELLO_WORLD
Command for thehellocommand. -
CLEAR
Command for theclearcommand. -
MOD_LIST
Command for themodListcommand. -
MOD_DIR
Command for themodDircommand. -
LOG_DIR
-
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()Builder to check of the reg has already generated
-
-
Method Details
-
register
Registers the commands to the reg- Parameters:
event- the event to register commands to
-