|
CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
A class that represents a function that parses a String into another object. More...
Public Member Functions | |
| T | parse (String s) throws WrapperCommandSyntaxException |
| A method that turns a String into an object of type T. More... | |
A class that represents a function that parses a String into another object.
See StringParser#parse(String)
| <T> | The class that this StringParser turns strings into. |
| T dev.jorel.commandapi.arguments.StringParser< T >.parse | ( | String | s | ) | throws WrapperCommandSyntaxException |
A method that turns a String into an object of type T.
| s | The String to parse |
| WrapperCommandSyntaxException | If there is a problem with the syntax of the String that prevents it from being turned into an object of type T. |