Class DirectionArgument
java.lang.Object
cloud.commandframework.arguments.CommandArgument<ICommandSender,MovementDirection>
nl.pim16aap2.animatedarchitecture.spigot.core.comands.DirectionArgument
- All Implemented Interfaces:
cloud.commandframework.keys.CloudKeyHolder<MovementDirection>,Comparable<cloud.commandframework.arguments.CommandArgument<?,?>>
public class DirectionArgument
extends cloud.commandframework.arguments.CommandArgument<ICommandSender,MovementDirection>
Represents a type of argument in a command used to specify a direction.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class cloud.commandframework.arguments.CommandArgument
cloud.commandframework.arguments.CommandArgument.Builder<C,T>, cloud.commandframework.arguments.CommandArgument.TypedBuilder<C, T, B extends cloud.commandframework.arguments.CommandArgument.Builder<C, T>> -
Constructor Summary
ConstructorsConstructorDescriptionDirectionArgument(boolean required, String name, @Nullable String defaultValue, @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider, @Nullable cloud.commandframework.ArgumentDescription defaultDescription, DirectionParser parser) -
Method Summary
Methods inherited from class cloud.commandframework.arguments.CommandArgument
addPreprocessor, compareTo, copy, equals, getDefaultDescription, getDefaultValue, getKey, getName, getOwningCommand, getParser, getSuggestionsProvider, getValueType, hasDefaultValue, hashCode, isArgumentRegistered, isRequired, ofType, ofType, preprocess, setArgumentRegistered, setOwningCommand, toString
-
Constructor Details
-
DirectionArgument
public DirectionArgument(boolean required, String name, @Nullable @Nullable String defaultValue, @Nullable @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider, @Nullable @Nullable cloud.commandframework.ArgumentDescription defaultDescription, DirectionParser parser)
-
-
Method Details
-
builder
-