aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/DankerGuiCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-10-09 10:54:39 -0400
committerbowser0000 <bowser0000@gmail.com>2020-10-09 10:54:39 -0400
commit68111a9d9c9d403436dc2041010f337580d48d60 (patch)
treefa66b56133e317b08f60c4e84d556c3ec70e1f98 /src/main/java/me/Danker/commands/DankerGuiCommand.java
parent5d477d9d06933c7a52ea5df17160b89391387872 (diff)
downloadSkyblockMod-68111a9d9c9d403436dc2041010f337580d48d60.tar.gz
SkyblockMod-68111a9d9c9d403436dc2041010f337580d48d60.tar.bz2
SkyblockMod-68111a9d9c9d403436dc2041010f337580d48d60.zip
Add GUI: /dsm
No GUI for moving or scaling displays yet
Diffstat (limited to 'src/main/java/me/Danker/commands/DankerGuiCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/DankerGuiCommand.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/commands/DankerGuiCommand.java b/src/main/java/me/Danker/commands/DankerGuiCommand.java
new file mode 100644
index 0000000..ef39d24
--- /dev/null
+++ b/src/main/java/me/Danker/commands/DankerGuiCommand.java
@@ -0,0 +1,32 @@
+package me.Danker.commands;
+
+import me.Danker.TheMod;
+import me.Danker.gui.DankerGui;
+import net.minecraft.client.Minecraft;
+import net.minecraft.command.CommandBase;
+import net.minecraft.command.CommandException;
+import net.minecraft.command.ICommandSender;
+
+public class DankerGuiCommand extends CommandBase {
+
+ @Override
+ public String getCommandName() {
+ return "dsm";
+ }
+
+ @Override
+ public String getCommandUsage(ICommandSender arg0) {
+ return null;
+ }
+
+ @Override
+ public int getRequiredPermissionLevel() {
+ return 0;
+ }
+
+ @Override
+ public void processCommand(ICommandSender arg0, String[] arg1) throws CommandException {
+ TheMod.guiToOpen = "dankergui1";
+ }
+
+}