Class BiomeTypeArgument
java.lang.Object
com.thevoxelbox.voxelsniper.command.argument.AbstractRegistryArgument<BiomeType>
com.thevoxelbox.voxelsniper.command.argument.BiomeTypeArgument
- All Implemented Interfaces:
VoxelCommandElement
-
Field Summary
Fields inherited from class com.thevoxelbox.voxelsniper.command.argument.AbstractRegistryArgument
parseExceptionCaptionKey, plugin, registry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseBiomeType
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue) suggestBiomeTypes
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input) Methods inherited from class com.thevoxelbox.voxelsniper.command.argument.AbstractRegistryArgument
parseValue, suggestValues
-
Constructor Details
-
BiomeTypeArgument
Create a biome type argument.- Parameters:
plugin
- the plugin- Since:
- 3.0.0
-
-
Method Details
-
suggestBiomeTypes
public List<String> suggestBiomeTypes(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input) -
parseBiomeType
public BiomeType parseBiomeType(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue)
-