Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(String) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- addAll(Collection<? extends String>) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
B
- backwardsBrigadierSenderMapper(Function<C, S>) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Set the backwards mapper from Cloud to Brigadier command senders.
- brigadierManager() - Method in interface cloud.commandframework.brigadier.BrigadierManagerHolder
-
Get the Brigadier manager instance used by this manager.
- BrigadierManagerHolder<C> - Interface in cloud.commandframework.brigadier
-
This interface is implemented by command managers capable of registering commands to Brigadier.
- BrigadierMappingBuilder<K extends cloud.commandframework.arguments.parser.ArgumentParser<?,
?>, S> - Interface in cloud.commandframework.brigadier -
A builder for a mapping between a Cloud parser and a Brigadier
ArgumentType - BrigadierMappingBuilder.SuggestionProviderSupplier<K extends cloud.commandframework.arguments.parser.ArgumentParser<?,
?>, S> - Interface in cloud.commandframework.brigadier - brigadierSenderMapper() - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Get the mapper between Brigadier and Cloud command senders, if one exists
- brigadierSenderMapper(Function<S, C>) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Set the mapper between the Brigadier command sender type and the Cloud command sender type
C
- clear() - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- cloud.commandframework.brigadier - package cloud.commandframework.brigadier
-
Brigadier mappings.
- cloud.commandframework.brigadier.argument - package cloud.commandframework.brigadier.argument
-
Support for wrapping brigadier
ArgumentTypesas CloudArgumentParser. - CloudBrigadierManager<C,
S> - Class in cloud.commandframework.brigadier -
Manager used to map cloud
Command - CloudBrigadierManager(CommandManager<C>, Supplier<CommandContext<C>>) - Constructor for class cloud.commandframework.brigadier.CloudBrigadierManager
-
Create a new cloud brigadier manager
- cloudSuggestions() - Method in interface cloud.commandframework.brigadier.BrigadierMappingBuilder
-
Use the suggestions from Cloud's parser for this argument type.
- COMMAND_CONTEXT_BRIGADIER_NATIVE_SENDER - Static variable in class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
- contains(Object) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- containsAll(Collection<?>) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- createLiteralCommandNode(CommandTree.Node<CommandArgument<C, ?>>, LiteralCommandNode<S>, SuggestionProvider<S>, Command<S>, BiPredicate<S, CommandPermission>) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Create a literal command from Brigadier command info, and a cloud command instance
- createLiteralCommandNode(String, Command<C>, BiPredicate<S, CommandPermission>, boolean, Command<S>) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Create a new literal command node
E
- element() - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
F
- from(StringReader) - Static method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
-
Given an existing Brigadier
StringReader, get a view of it as aQueue
G
- getNativeArgument() - Method in class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
-
Get the backing Brigadier
ArgumentTypefor this parser. - getOriginal() - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
-
Get the backing
StringReaderused to source data. - getRequestedArgumentCount() - Method in class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
I
- isContextFree() - Method in class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
- isEmpty() - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- iterator() - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
N
- nativeSuggestions() - Method in interface cloud.commandframework.brigadier.BrigadierMappingBuilder
-
Use the default brigadier suggestions for this argument type.
O
- offer(String) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
P
- parse(CommandContext<C>, Queue<String>) - Method in class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
- provide(K, SuggestionProvider<S>) - Method in interface cloud.commandframework.brigadier.BrigadierMappingBuilder.SuggestionProviderSupplier
-
Create a new suggestion provider based on the provided argument.
R
- registerDefaultArgumentTypeSupplier(Class<?>, Supplier<ArgumentType<?>>) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Register a default mapping to between a class and a Brigadier argument type
- registerMapping(TypeToken<K>, boolean, Function<? extends K, ? extends ArgumentType<O>>) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Deprecated.
- registerMapping(TypeToken<K>, Consumer<BrigadierMappingBuilder<K, S>>) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Register a cloud-Brigadier mapping.
- remove() - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- removeAll(Collection<?>) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- retainAll(Collection<?>) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
S
- setNativeNumberSuggestions(boolean) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Set whether to use Brigadier's native suggestions for number argument types.
- setNativeSuggestions(TypeToken<K>, boolean) - Method in class cloud.commandframework.brigadier.CloudBrigadierManager
-
Set whether to use Brigadier's native suggestions for an argument type with an already registered mapper.
- StringReaderAsQueue - Interface in cloud.commandframework.brigadier.argument
-
An interface combining
Queuebehaviour with a BrigadierStringReader. - suggestedBy(BrigadierMappingBuilder.SuggestionProviderSupplier<K, S>) - Method in interface cloud.commandframework.brigadier.BrigadierMappingBuilder
-
Use a custom Brigadier suggestion provider for this parser.
- suggestedByConstant(SuggestionProvider<S>) - Method in interface cloud.commandframework.brigadier.BrigadierMappingBuilder
-
Use a custom Brigadier suggestion provider for this parser.
- suggestions(CommandContext<C>, String) - Method in class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
T
- to(Function<K, ? extends ArgumentType<?>>) - Method in interface cloud.commandframework.brigadier.BrigadierMappingBuilder
-
Map the cloud argument parser to a variable Brigadier
ArgumentType. - toArray() - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- toArray(T[]) - Method in interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
- toConstant(ArgumentType<?>) - Method in interface cloud.commandframework.brigadier.BrigadierMappingBuilder
-
Map the argument type parser to a constant Brigadier argument type instance.
W
- WrappedBrigadierParser<C,
T> - Class in cloud.commandframework.brigadier.argument -
A wrapped argument parser that can expose Brigadier argument types to the Cloud world.
- WrappedBrigadierParser(ArgumentType<T>) - Constructor for class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
-
Create an argument parser based on a brigadier command.
- WrappedBrigadierParser(ArgumentType<T>, int) - Constructor for class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
-
Create an argument parser based on a brigadier command.
- WrappedBrigadierParser(Supplier<ArgumentType<T>>) - Constructor for class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
-
Create an argument parser based on a brigadier command.
- WrappedBrigadierParser(Supplier<ArgumentType<T>>, int) - Constructor for class cloud.commandframework.brigadier.argument.WrappedBrigadierParser
-
Create an argument parser based on a brigadier command.
All Classes and Interfaces|All Packages|Constant Field Values
CloudBrigadierManager.registerMapping(TypeToken, Consumer)instead.