CommandAPI 9.3.0
An API for the command UI introduced in Minecraft 1.13
|
Basically a RedirectModifier
(though no subtype) that only converts to a single command source.
More...
Public Member Functions | |
S | apply (CommandContext< S > context) throws CommandSyntaxException |
Applies the redirect modifier to the command context, returning the new command source to use for invoking the command. More... | |
Basically a RedirectModifier
(though no subtype) that only converts to a single command source.
<S> | the type of the command source |
S com.mojang.brigadier.SingleRedirectModifier< S >.apply | ( | CommandContext< S > | context | ) | throws CommandSyntaxException |
Applies the redirect modifier to the command context, returning the new command source to use for invoking the command.
context | the command context to base it on |
CommandSyntaxException | if an error occurred |