2024-07-24 01:21:47 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* CommandManager
|
|
|
|
*
|
|
|
|
* This class maintains all custom commands and executions throughout the mod
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
package jesse.keeblarcraft.Commands;
|
|
|
|
|
|
|
|
public class CustomCommandManager {
|
|
|
|
// Intentionally empty constructor since at object definition time it may not be possible to register commands
|
|
|
|
public CustomCommandManager() {}
|
|
|
|
|
2024-08-01 04:03:46 +00:00
|
|
|
// Registers all custom command classes here
|
2024-07-24 01:21:47 +00:00
|
|
|
public void RegisterCustomCommands() {
|
|
|
|
// CUSTOM COMMAND CLASS OBJECTS BELOW
|
|
|
|
ShortcutCommands shortcuts = new ShortcutCommands();
|
2024-07-29 00:13:48 +00:00
|
|
|
NoteCommands noteCommands = new NoteCommands();
|
2024-07-24 01:21:47 +00:00
|
|
|
|
|
|
|
// REGISTER COMMANDS BELOW
|
2024-08-08 18:22:59 +00:00
|
|
|
System.out.println("\033[32m REGISTERING CUSTOM COMMAND EXTENSIONS BELOW \033[0m");
|
2024-07-24 01:21:47 +00:00
|
|
|
shortcuts.RegisterShortcutCommands();
|
2024-07-29 00:13:48 +00:00
|
|
|
noteCommands.RegisterNoteCommands();
|
2024-07-24 01:21:47 +00:00
|
|
|
}
|
|
|
|
}
|