CommandAPI
6.2.0
An API for the command UI introduced in Minecraft 1.13
|
A FunctionalInterface that takes in a String, returns T and can throw a CustomArgumentException. More...
Public Member Functions | |
T | apply (String input) throws CustomArgumentException |
Applies a String input to this custom argument parser. More... | |
A FunctionalInterface that takes in a String, returns T and can throw a CustomArgumentException.
<T> | the type that is returned when applying this parser |
T dev.jorel.commandapi.arguments.CustomArgument< T >.CustomArgumentParser< T >.apply | ( | String | input | ) | throws CustomArgumentException |
Applies a String input to this custom argument parser.
input | the String input to apply |
CustomArgumentException | if an error occurs during parsing |