aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleSubCommand.java
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-08 16:12:55 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-08 16:12:55 +0200
commit4463c7fa78f886a8abc09e867dd17cde2a685ad4 (patch)
tree9245b4eed7f410f1c168688a77eeda6bfd55c994 /src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleSubCommand.java
parent9e08dbf2baa9819abd281ad285df7462c99491e2 (diff)
downloadskyhanni-4463c7fa78f886a8abc09e867dd17cde2a685ad4.tar.gz
skyhanni-4463c7fa78f886a8abc09e867dd17cde2a685ad4.tar.bz2
skyhanni-4463c7fa78f886a8abc09e867dd17cde2a685ad4.zip
code cleanup
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleSubCommand.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleSubCommand.java61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleSubCommand.java b/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleSubCommand.java
deleted file mode 100644
index 4869d6bc9..000000000
--- a/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleSubCommand.java
+++ /dev/null
@@ -1,61 +0,0 @@
-//package com.thatgravyboat.skyblockhud.commands;
-//
-//import java.util.List;
-//import java.util.Set;
-//import net.minecraft.command.CommandBase;
-//import net.minecraft.command.ICommandSender;
-//import net.minecraft.util.BlockPos;
-//import org.apache.commons.lang3.ArrayUtils;
-//
-//public abstract class SimpleSubCommand extends CommandBase {
-//
-// private final String commandName;
-// private final Set<String> subCommands;
-//
-// public SimpleSubCommand(String commandName, Set<String> subCommands) {
-// this.commandName = commandName;
-// this.subCommands = subCommands;
-// }
-//
-// @Override
-// public String getCommandName() {
-// return commandName;
-// }
-//
-// @Override
-// public String getCommandUsage(ICommandSender sender) {
-// return "/" + commandName;
-// }
-//
-// @Override
-// public void processCommand(ICommandSender sender, String[] args) {
-// if (args.length == 0) {
-// processNoSubCommand(sender);
-// return;
-// }
-// if (subCommands.contains(args[0])) {
-// processSubCommand(sender, args[0], ArrayUtils.remove(args, 0));
-// return;
-// }
-// processBadSubCommand(sender, args[0]);
-// }
-//
-// @Override
-// public boolean canCommandSenderUseCommand(ICommandSender sender) {
-// return true;
-// }
-//
-// @Override
-// public List<String> addTabCompletionOptions(ICommandSender sender, String[] args, BlockPos pos) {
-// if (args.length == 1) {
-// return getListOfStringsMatchingLastWord(args, subCommands);
-// }
-// return null;
-// }
-//
-// abstract void processSubCommand(ICommandSender sender, String subCommand, String[] args);
-//
-// abstract void processNoSubCommand(ICommandSender sender);
-//
-// public void processBadSubCommand(ICommandSender sender, String subCommand) {}
-//}