Class EntityClassArgument

java.lang.Object
com.thevoxelbox.voxelsniper.command.argument.EntityClassArgument
All Implemented Interfaces:
VoxelCommandElement

public class EntityClassArgument extends Object implements VoxelCommandElement
  • Field Details

    • ENTITY_CLASSES

      public static final List<String> ENTITY_CLASSES
  • Constructor Details

    • EntityClassArgument

      public EntityClassArgument(VoxelSniperPlugin plugin)
      Create a toolkit argument.
      Parameters:
      plugin - the plugin
      Since:
      3.0.0
  • Method Details

    • getEntityClassHierarchy

      public static List<Class<?>> getEntityClassHierarchy(Class<? extends Entity> entityClass)
    • suggestEntityClasses

      public List<String> suggestEntityClasses(cloud.commandframework.context.CommandContext<Sniper> commandContext, String input)
    • parseEntityClass

      public Class<? extends Entity> parseEntityClass(cloud.commandframework.context.CommandContext<Sniper> commandContext, Queue<String> inputQueue)