Skip navigation links
A B C F G P R T 

A

addType(Class<?>, ArgumentType<?>) - Method in class revxrsal.commands.brigadier.types.ArgumentTypes.Builder
Registers an ArgumentType that matches a specific class.
addTypeFactory(ArgumentTypeFactory<? super A>) - Method in class revxrsal.commands.brigadier.types.ArgumentTypes.Builder
Registers an ArgumentTypeFactory to this registry.
addTypeFactoryLast(ArgumentTypeFactory<? super A>) - Method in class revxrsal.commands.brigadier.types.ArgumentTypes.Builder
Registers an ArgumentTypeFactory to this registry.
addTypeLast(Class<?>, ArgumentType<?>) - Method in class revxrsal.commands.brigadier.types.ArgumentTypes.Builder
Registers an ArgumentType that matches a specific class.
ArgumentTypeFactory<A extends revxrsal.commands.command.CommandActor> - Interface in revxrsal.commands.brigadier.types
A resolver that creates dedicated ArgumentTypes for parameters.
ArgumentTypes<A extends revxrsal.commands.command.CommandActor> - Class in revxrsal.commands.brigadier.types
Represents an immutable registry for ArgumentTypeFactory
ArgumentTypes(ArgumentTypes.Builder<A>) - Constructor for class revxrsal.commands.brigadier.types.ArgumentTypes
 
ArgumentTypes.Builder<A extends revxrsal.commands.command.CommandActor> - Class in revxrsal.commands.brigadier.types
 

B

BrigadierAdapter - Class in revxrsal.commands.brigadier
A utility that parses all the commands in a Lamp instance into brigadier CommandNodes
BrigadierAdapter() - Constructor for class revxrsal.commands.brigadier.BrigadierAdapter
 
BrigadierConverter<A extends revxrsal.commands.command.CommandActor,S> - Interface in revxrsal.commands.brigadier
Represents an intermediate layer that allows for simple interoperability with BrigadierAdapter.
BrigadierParser<S,A extends revxrsal.commands.command.CommandActor> - Class in revxrsal.commands.brigadier
 
BrigadierParser(BrigadierConverter<A, S>) - Constructor for class revxrsal.commands.brigadier.BrigadierParser
 
BType - Annotation Type in revxrsal.commands.brigadier.annotations
An annotation that instructs Lamp that certain parameters should have a specific ArgumentType or an ArgumentTypeFactory.
build() - Method in class revxrsal.commands.brigadier.types.ArgumentTypes.Builder
Returns a new ArgumentTypes registry
builder() - Static method in class revxrsal.commands.brigadier.types.ArgumentTypes
Creates a new ArgumentTypes.Builder for the registry
Builder() - Constructor for class revxrsal.commands.brigadier.types.ArgumentTypes.Builder
 

C

createAction(Lamp<A>) - Method in class revxrsal.commands.brigadier.BrigadierParser
Returns a Brigadier Command action that always delegates the execution to the supplied Lamp instance.
createAction(ExecutableCommand<A>) - Method in class revxrsal.commands.brigadier.BrigadierParser
Returns a Brigadier Command action that always delegates the execution to the supplied Lamp instance.
createActor(S, Lamp<A>) - Method in interface revxrsal.commands.brigadier.BrigadierConverter
Wraps the given Brigadier sender to a Lamp CommandActor
createNode(ExecutableCommand<A>) - Method in class revxrsal.commands.brigadier.BrigadierParser
Creates a Brigadier CommandNode based on the given ExecutableCommand
createRequirement(CommandPermission<A>, Lamp<A>) - Method in class revxrsal.commands.brigadier.BrigadierParser
Creates a Predicate that is equivalent to a CommandPermission
createSuggestionProvider(ParameterNode<A, ?>, BrigadierConverter<A, S>) - Static method in class revxrsal.commands.brigadier.BrigadierAdapter
Returns a Brigadier SuggestionProvider action that always delegates the auto-completion to the given ParameterNode.
createSuggestionProvider(ParameterNode<A, ?>) - Method in class revxrsal.commands.brigadier.BrigadierParser
Returns a Brigadier SuggestionProvider action that always delegates the auto-completion to the given ParameterNode.

F

forType(Class<?>, ArgumentType<?>) - Static method in interface revxrsal.commands.brigadier.types.ArgumentTypeFactory
Creates a ArgumentTypeFactory that will return the same argument type for all parameters that match a specific type
forTypeAndSubclasses(Class<?>, ArgumentType<?>) - Static method in interface revxrsal.commands.brigadier.types.ArgumentTypeFactory
Creates a ArgumentTypeFactory that will return the same argument type for all parameters that match a specific type and all of its subclasses.

G

getArgumentType(ParameterNode<A, ?>) - Method in interface revxrsal.commands.brigadier.BrigadierConverter
Returns the argument type that corresponds to the given ParameterNode.
getArgumentType(ParameterNode<A, ?>) - Method in interface revxrsal.commands.brigadier.types.ArgumentTypeFactory
Returns the argument type for the given parameter.

P

provideAsyncCompletions(AsyncSuggestionProvider<A>, SuggestionsBuilder, ExecutionContext<A>, Message) - Static method in class revxrsal.commands.brigadier.BrigadierAdapter
 

R

revxrsal.commands.brigadier - package revxrsal.commands.brigadier
 
revxrsal.commands.brigadier.annotations - package revxrsal.commands.brigadier.annotations
 
revxrsal.commands.brigadier.types - package revxrsal.commands.brigadier.types
 

T

toBuilder() - Method in class revxrsal.commands.brigadier.types.ArgumentTypes
Creates a SuggestionProviders.Builder that contains the providers registered in this registry.
toParameterType(ArgumentType<T>) - Static method in class revxrsal.commands.brigadier.BrigadierAdapter
Wraps the given ArgumentType into a ParameterType.
type(ParameterNode<A, ?>) - Method in class revxrsal.commands.brigadier.types.ArgumentTypes
Returns the first ArgumentType that can create an argument type for the given parameter.
A B C F G P R T 
Skip navigation links