Class StencilListFileArgument
java.lang.Object
com.thevoxelbox.voxelsniper.command.argument.AbstractFileArgument
com.thevoxelbox.voxelsniper.command.argument.StencilListFileArgument
- All Implemented Interfaces:
VoxelCommandElement
-
Field Summary
Fields inherited from class com.thevoxelbox.voxelsniper.command.argument.AbstractFileArgument
extension, plugin, rootPath
-
Constructor Summary
ConstructorDescriptionCreate a stencil file argument. -
Method Summary
Modifier and TypeMethodDescriptionparseStencilListFile
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue) suggestStencilListFiles
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input) Methods inherited from class com.thevoxelbox.voxelsniper.command.argument.AbstractFileArgument
parseFile, suggestFiles
-
Constructor Details
-
StencilListFileArgument
Create a stencil file argument.- Parameters:
plugin
- the plugin- Since:
- 3.0.0
-
-
Method Details
-
suggestStencilListFiles
public List<String> suggestStencilListFiles(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input) -
parseStencilListFile
public File parseStencilListFile(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue)
-