Package baritone.api.command.argparser
Interface IArgParser.Stateless<T>
- All Superinterfaces:
IArgParser<T>
- Enclosing interface:
IArgParser<T>
A stateless argument parser is just that. It takes a
ICommandArgument and outputs its type.-
Nested Class Summary
Nested classes/interfaces inherited from interface baritone.api.command.argparser.IArgParser
IArgParser.Stated<T,S>, IArgParser.Stateless<T> -
Method Summary
Methods inherited from interface baritone.api.command.argparser.IArgParser
getTarget
-
Method Details
-
parseArg
- Parameters:
arg- The argument to parse.- Returns:
- What it was parsed into.
- Throws:
RuntimeException- if you want the parsing to fail. The exception will be caught and turned into an appropriate error.Exception
-