Class CommandDispatcherProxy
java.lang.Object
com.mrivanplays.ivancord.api.command.CommandDispatcherProxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
complete
(CommandSender sender, String input) complete
(CommandSender sender, String input, boolean check) completeWithNames
(CommandSender sender, String input) int
dispatch
(CommandSender sender, String input) Collection<com.mojang.brigadier.tree.CommandNode<CommandSender>>
getCommand
(String commandName) boolean
isExecutable
(String commandName, CommandSender sender) void
register
(BrigadierCommand command) void
void
unregister
(BrigadierCommand command) void
unregister
(Command command) void
unregisterAll
(Plugin plugin)
-
Constructor Details
-
CommandDispatcherProxy
-
-
Method Details
-
register
-
register
-
unregister
-
isExecutable
-
unregister
-
unregisterAll
-
dispatch
-
getCommand
-
complete
-
complete
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> complete(CommandSender sender, String input) -
completeWithNames
-
getCommands
-
getBrigadierCommands
-