Class Commands

java.lang.Object
net.minheur.potoflux.terminal.commands.Commands

public class Commands extends Object
Registry of all commands of potoflux
  • Field Details

    • INSTANCE

      public static Commands INSTANCE
      The only instance of the reg that should exist
    • HELLO_WORLD

      public final Command HELLO_WORLD
      Command for the hello command.
    • CLEAR

      public final Command CLEAR
      Command for the clear command.
    • MOD_LIST

      public final Command MOD_LIST
      Command for the modList command.
    • MOD_DIR

      public final Command MOD_DIR
      Command for the modDir command.
    • LOG_DIR

      public final Command LOG_DIR
    • TIME

      public final Command TIME
      Command for the time command.
    • HELP

      public final Command HELP
      Command for the help command.
    • ECHO

      public final Command ECHO
      Command for the echo command.
    • TAB

      public final Command TAB
      Command for the tab command.
    • TAB_LIST

      public final Command TAB_LIST
      Command for the tabList command.
    • SOURCE

      public final Command SOURCE
      Command for the source command.
    • VERSION

      public final Command VERSION
      Command for the ptfVersion command.
    • ASCII

      public final Command ASCII
      Command for the ascii command.
    • QUIT

      public final Command QUIT
      Command for the quit command.
    • HIDDEN

      public final Command HIDDEN
      Command for the hide command.
      It's hidden
    • NOPE

      public final Command NOPE
      Command for the nope command.
      It's hidden
    • POTATO_COMMAND

      public final Command 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

      public static void register(RegisterCommandsEvent event)
      Registers the commands to the reg
      Parameters:
      event - the event to register commands to