Class DirectionArgument.DirectionArgumentBuilder
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.comands.DirectionArgument.DirectionArgumentBuilder
- Enclosing class:
DirectionArgument
-
Method Summary
Modifier and TypeMethodDescription@NonNull DirectionArgumentbuild()defaultDescription(@Nullable cloud.commandframework.ArgumentDescription defaultDescription) defaultValue(@Nullable String defaultValue) parser(DirectionParser parser) required(boolean required) suggestionsProvider(@Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider) @NonNull StringtoString()
-
Method Details
-
required
- Returns:
this.
-
name
- Returns:
this.
-
defaultValue
public @NonNull DirectionArgument.DirectionArgumentBuilder defaultValue(@Nullable String defaultValue) - Returns:
this.
-
suggestionsProvider
public @NonNull DirectionArgument.DirectionArgumentBuilder suggestionsProvider(@Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider) - Returns:
this.
-
defaultDescription
public @NonNull DirectionArgument.DirectionArgumentBuilder defaultDescription(@Nullable cloud.commandframework.ArgumentDescription defaultDescription) - Returns:
this.
-
parser
- Returns:
this.
-
build
-
toString
-