Uses of Interface
io.github.jwdeveloper.spigot.commands.api.Command
-
Uses of Command in io.github.jwdeveloper.spigot.commands.api
Methods in io.github.jwdeveloper.spigot.commands.api that return types with arguments of type CommandModifier and TypeMethodDescriptionRetrieves a child command by its name, if it exists.Command.children()Retrieves the list of child commands associated with this command.CommandsRegistry.commands()Commands.findAll()Finds and returns all commands managed by the command manager.java.util.stream.Stream<Command>Finds and returns commands that match the specified predicate.Commands.findByName(String commandName) Finds and returns a command with the specified name.Command.parent()Retrieves the parent command of this command, if it exists.Methods in io.github.jwdeveloper.spigot.commands.api with parameters of type CommandModifier and TypeMethodDescriptionbooleanvoidAdds the specified command to the command manager.booleanvoidCommands.unregister(Command command) Removes the specified command from the command manager.Method parameters in io.github.jwdeveloper.spigot.commands.api with type arguments of type Command