Package net.forthecrown.grenadier.types
Interface RegistryArgument<T extends Keyed>
- All Superinterfaces:
ArgumentType<T>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionlistSuggestions
(CommandContext<S> context, SuggestionsBuilder builder) parse
(StringReader reader) Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
getExamples
-
Method Details
-
getExceptionFactory
RegistryArgument.UnknownFactory getExceptionFactory() -
getRegistry
-
parse
- Specified by:
parse
in interfaceArgumentType<T extends Keyed>
- Throws:
CommandSyntaxException
-
listSuggestions
<S> CompletableFuture<Suggestions> listSuggestions(CommandContext<S> context, SuggestionsBuilder builder) - Specified by:
listSuggestions
in interfaceArgumentType<T extends Keyed>
-