Package org.mcmonkey.sentinel.commands
Class SentinelTargetCommands
java.lang.Object
org.mcmonkey.sentinel.commands.SentinelTargetCommands
Commands related to targeting.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAvoid
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
addIgnore
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
addTarget
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
avoidRange
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
avoidReturnpoint
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
avoids
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
fightback
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
forgive
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) static String
getNameTargetString
(Collection<String> targetList) Gets a string holding all name targets.void
ignores
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) static void
outputEntireTargetsList
(org.bukkit.command.CommandSender sender, SentinelTargetList list, String prefixType) static boolean
outputTargetsList
(org.bukkit.command.CommandSender sender, String label, Collection<String> targets) void
protectedFromIgnores
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
protectFromRange
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
removeAvoid
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
removeIgnore
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
removeTarget
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
runaway
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
targets
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) void
targetTime
(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) static boolean
testLabel
(org.bukkit.command.CommandSender sender, SentinelTargetLabel label)
-
Constructor Details
-
SentinelTargetCommands
public SentinelTargetCommands()
-
-
Method Details
-
outputEntireTargetsList
public static void outputEntireTargetsList(org.bukkit.command.CommandSender sender, SentinelTargetList list, String prefixType) -
outputTargetsList
public static boolean outputTargetsList(org.bukkit.command.CommandSender sender, String label, Collection<String> targets) -
testLabel
-
getNameTargetString
Gets a string holding all name targets. -
addTarget
public void addTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
removeTarget
public void removeTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
addIgnore
public void addIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
removeIgnore
public void removeIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
addAvoid
public void addAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
removeAvoid
public void removeAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
avoidRange
public void avoidRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
targetTime
public void targetTime(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
runaway
public void runaway(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
protectedFromIgnores
public void protectedFromIgnores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
protectFromRange
public void protectFromRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
fightback
public void fightback(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
forgive
public void forgive(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
targets
public void targets(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
ignores
public void ignores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
avoids
public void avoids(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) -
avoidReturnpoint
public void avoidReturnpoint(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
-