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