mirror of
https://github.com/GTNewHorizons/JustEnoughCalculation.git
synced 2026-11-21 20:42:19 +00:00
feat: Basic gui
This commit is contained in:
1 parent
5283b0641f
commit
42bf760bcb
57 files changed
+2705
-600
No files matched your search
@@ -0,0 +1,30 @@
|
||||
package me.towdium.jecalculation.command;
|
||||
|
||||
import me.towdium.jecalculation.command.commands.CommandHelp;
|
||||
import me.towdium.jecalculation.command.commands.CommandState;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
import java.util.HashMap;
|
||||
|
||||
/**
|
||||
* Author: towdium
|
||||
* Date: 8/10/17.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
public class Commands {
|
||||
public static final HashMap<String, SubCommand> commands;
|
||||
|
||||
public static final CommandHelp commandHelp = new CommandHelp();
|
||||
public static final CommandState commandState = new CommandState();
|
||||
|
||||
static {
|
||||
commands = new HashMap<>();
|
||||
|
||||
add(commandHelp);
|
||||
add(commandState);
|
||||
}
|
||||
|
||||
static void add(SubCommand c) {
|
||||
commands.put(c.getName(), c);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user