aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/BlockSlayerCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-04-20 22:52:26 -0400
committerbowser0000 <bowser0000@gmail.com>2022-04-20 22:52:26 -0400
commitf214832fb6f315d59d876267f71e9e9f0a6082fd (patch)
tree7e91ac59569230e587cb5060f42356241a07ea97 /src/main/java/me/Danker/commands/BlockSlayerCommand.java
parent9b65362e8e85a8fc783fdb2a1c94f6df51f9450f (diff)
downloadSkyblockMod-f214832fb6f315d59d876267f71e9e9f0a6082fd.tar.gz
SkyblockMod-f214832fb6f315d59d876267f71e9e9f0a6082fd.tar.bz2
SkyblockMod-f214832fb6f315d59d876267f71e9e9f0a6082fd.zip
Add blaze slayer support + tracker
Diffstat (limited to 'src/main/java/me/Danker/commands/BlockSlayerCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/BlockSlayerCommand.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/BlockSlayerCommand.java b/src/main/java/me/Danker/commands/BlockSlayerCommand.java
index 9f51be6..37047c9 100644
--- a/src/main/java/me/Danker/commands/BlockSlayerCommand.java
+++ b/src/main/java/me/Danker/commands/BlockSlayerCommand.java
@@ -21,7 +21,7 @@ public class BlockSlayerCommand extends CommandBase {
@Override
public String getCommandUsage(ICommandSender arg0) {
- return "/" + getCommandName() + " <zombie/spider/wolf/enderman> <1/2/3/4/5>";
+ return "/" + getCommandName() + " <zombie/spider/wolf/enderman/blaze> <1/2/3/4/5>";
}
public static String usage(ICommandSender arg0) {
@@ -36,7 +36,7 @@ public class BlockSlayerCommand extends CommandBase {
@Override
public List<String> addTabCompletionOptions(ICommandSender sender, String[] args, BlockPos pos) {
if (args.length == 1) {
- return getListOfStringsMatchingLastWord(args, "zombie", "spider", "wolf", "enderman");
+ return getListOfStringsMatchingLastWord(args, "zombie", "spider", "wolf", "enderman", "blaze");
} else if (args.length == 2) {
return getListOfStringsMatchingLastWord(args, "1", "2", "3", "4", "5");
}
@@ -62,6 +62,12 @@ public class BlockSlayerCommand extends CommandBase {
case "wolf":
BlockWrongSlayer.onlySlayerName = "Sven Packmaster";
break;
+ case "enderman":
+ BlockWrongSlayer.onlySlayerName = "Voidgloom Seraph";
+ break;
+ case "blaze":
+ BlockWrongSlayer.onlySlayerName = "Inferno Demonlord";
+ break;
case "off":
BlockWrongSlayer.onlySlayerName = "";
BlockWrongSlayer.onlySlayerNumber = "";