Package com.ryandw11.structure.commands
Interface SubCommand
- All Known Implementing Classes:
 AddItemCommand,AddonsCommand,CheckKeyCommand,CreateCommand,CreateSchematicCommand,GetItemCommand,ListCommand,NearbyCommand,ReloadCommand,SetLoottableCommand,TestCommand,TestLootTableCommand,TestSpawnCommand
public interface SubCommand
Implement a sub command for the /cstruct command.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleansubCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String s, String[] args)The sub command. 
- 
Method Details
- 
subCommand
boolean subCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String s, String[] args)The sub command.- Parameters:
 sender- The sender.cmd- The command.s- The command string.args- The arguments. (Does not include the subcommand name. So args.length for `/cstruct test` is 0.)- Returns:
 - If the sub-command is valid.
 
 
 -