Class VoxelListBlocksArgument
java.lang.Object
com.thevoxelbox.voxelsniper.command.argument.VoxelListBlocksArgument
- All Implemented Interfaces:
VoxelCommandElement
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Voxel list block wrapper. -
Constructor Summary
ConstructorDescriptionCreate a voxel list blocks argument. -
Method Summary
Modifier and TypeMethodDescriptionparseVoxelListBlock
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue) suggestVoxelListBlocks
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input)
-
Constructor Details
-
VoxelListBlocksArgument
Create a voxel list blocks argument.- Parameters:
plugin
- the plugin- Since:
- 3.0.0
-
-
Method Details
-
suggestVoxelListBlocks
public List<String> suggestVoxelListBlocks(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input) -
parseVoxelListBlock
public VoxelListBlocksArgument.BlockWrapper[] parseVoxelListBlock(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue)
-