Package org.mcmonkey.sentinel.commands
Class SentinelTargetCommands
java.lang.Object
org.mcmonkey.sentinel.commands.SentinelTargetCommands
Commands related to targeting.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidaddIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidaddTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidavoidRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidavoidReturnpoint(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidavoids(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidfightback(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidforgive(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) static StringgetNameTargetString(Collection<String> targetList) Gets a string holding all name targets.voidignores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) static voidoutputEntireTargetsList(org.bukkit.command.CommandSender sender, SentinelTargetList list, String prefixType) static booleanoutputTargetsList(org.bukkit.command.CommandSender sender, String label, Collection<String> targets) voidprotectedFromIgnores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidprotectFromRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidremoveAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidremoveIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidremoveTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidrunaway(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidtargets(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidtargetTime(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) static booleantestLabel(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)
-