Class EntityTypeArgument
java.lang.Object
com.thevoxelbox.voxelsniper.command.argument.AbstractRegistryArgument<EntityType>
com.thevoxelbox.voxelsniper.command.argument.EntityTypeArgument
- All Implemented Interfaces:
VoxelCommandElement
-
Field Summary
Fields inherited from class com.thevoxelbox.voxelsniper.command.argument.AbstractRegistryArgument
parseExceptionCaptionKey, plugin, registry
-
Constructor Summary
ConstructorDescriptionEntityTypeArgument
(VoxelSniperPlugin plugin) Create an entity type argument. -
Method Summary
Modifier and TypeMethodDescriptionparseEntityType
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue) suggestEntityTypes
(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input) Methods inherited from class com.thevoxelbox.voxelsniper.command.argument.AbstractRegistryArgument
parseValue, suggestValues
-
Constructor Details
-
EntityTypeArgument
Create an entity type argument.- Parameters:
plugin
- the plugin- Since:
- 3.0.0
-
-
Method Details
-
suggestEntityTypes
public List<String> suggestEntityTypes(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, String input) -
parseEntityType
public EntityType parseEntityType(cloud.commandframework.context.CommandContext<SniperCommander> commandContext, Queue<String> inputQueue)
-