Class StructureArgument
java.lang.Object
cloud.commandframework.arguments.CommandArgument<ICommandSender, StructureRetriever>
nl.pim16aap2.animatedarchitecture.spigot.core.comands.StructureArgument
- All Implemented Interfaces:
cloud.commandframework.keys.CloudKeyHolder<StructureRetriever>, Comparable<cloud.commandframework.arguments.CommandArgument<?,?>>
public class StructureArgument
extends cloud.commandframework.arguments.CommandArgument<ICommandSender, StructureRetriever>
Represents a type of argument in a command used to specify a structure.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classNested classes/interfaces inherited from class cloud.commandframework.arguments.CommandArgument
cloud.commandframework.arguments.CommandArgument.Builder<C,T>, cloud.commandframework.arguments.CommandArgument.TypedBuilder<C, T, B> -
Constructor Summary
ConstructorsConstructorDescriptionStructureArgument(boolean required, String name, @Nullable String defaultValue, @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider, @Nullable cloud.commandframework.ArgumentDescription defaultDescription, boolean asyncSuggestions, IExecutor executor, StructureRetrieverFactory structureRetrieverFactory, PermissionLevel maxPermission, Property<?>... properties) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull StructureArgument.StructureArgumentBuilderbuilder()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
-
StructureArgument
public StructureArgument(boolean required, String name, @Nullable String defaultValue, @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider, @Nullable cloud.commandframework.ArgumentDescription defaultDescription, boolean asyncSuggestions, IExecutor executor, StructureRetrieverFactory structureRetrieverFactory, PermissionLevel maxPermission, Property<?>... properties)
-
-
Method Details
-
builder
-