aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/example/commands/Commands.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/example/commands/Commands.java')
-rw-r--r--src/main/java/com/example/commands/Commands.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/com/example/commands/Commands.java b/src/main/java/com/example/commands/Commands.java
new file mode 100644
index 0000000..4a3db44
--- /dev/null
+++ b/src/main/java/com/example/commands/Commands.java
@@ -0,0 +1,14 @@
+package com.example.commands;
+
+import com.example.commands.HelpCommand;
+import net.minecraftforge.client.ClientCommandHandler;
+
+public class Commands {
+ public Commands() {
+ // Help Commands
+ ClientCommandHandler.instance.registerCommand(new HelpCommand());
+
+ // General
+ ClientCommandHandler.instance.registerCommand(new EnchantRuneCommand());
+ }
+} \ No newline at end of file