Interface CommandArgumentParser<T>
- All Known Implementing Classes:
Grammar
public interface CommandArgumentParser<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault <S> CommandArgumentParser<S> parseForCommands(StringReader reader) parseForSuggestions(SuggestionsBuilder suggestionsBuilder) default <T,O> CommandArgumentParser <T> withCodec(DynamicOps<O> ops, CommandArgumentParser<O> valueParser, Codec<T> codec, DynamicCommandExceptionType exceptionType)
-
Method Details
-
parseForCommands
- Throws:
CommandSyntaxException
-
parseForSuggestions
-
mapResult
-
withCodec
default <T,O> CommandArgumentParser<T> withCodec(DynamicOps<O> ops, CommandArgumentParser<O> valueParser, Codec<T> codec, DynamicCommandExceptionType exceptionType)
-