Class SingleEntitySelectorArgument.SingleEntitySelectorParser<C>

java.lang.Object
cloud.commandframework.bukkit.parsers.selector.SingleEntitySelectorArgument.SingleEntitySelectorParser<C>
All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,SingleEntitySelector>
Enclosing class:
SingleEntitySelectorArgument<C>

public static final class SingleEntitySelectorArgument.SingleEntitySelectorParser<C> extends Object
  • Field Details

    • NO_PLAYERS_EXCEPTION_TYPE

      protected static final Supplier<Object> NO_PLAYERS_EXCEPTION_TYPE
    • NO_ENTITIES_EXCEPTION_TYPE

      protected static final Supplier<Object> NO_ENTITIES_EXCEPTION_TYPE
  • Constructor Details

  • Method Details

    • mapResult

      public SingleEntitySelector mapResult(@NonNull String input, @NonNull cloud.commandframework.bukkit.parsers.selector.SelectorUtils.EntitySelectorWrapper wrapper)
    • legacyParse

      protected cloud.commandframework.arguments.parser.ArgumentParseResult<SingleEntitySelector> legacyParse(cloud.commandframework.context.CommandContext<C> commandContext, Queue<String> inputQueue)
    • legacySuggestions

      protected List<String> legacySuggestions(cloud.commandframework.context.CommandContext<C> commandContext, String input)
    • parse

      public cloud.commandframework.arguments.parser.ArgumentParseResult<SingleEntitySelector> parse(cloud.commandframework.context.CommandContext<C> commandContext, Queue<String> inputQueue)
      Specified by:
      parse in interface cloud.commandframework.arguments.parser.ArgumentParser<C,T>
    • suggestions

      public List<String> suggestions(cloud.commandframework.context.CommandContext<C> commandContext, String input)
      Specified by:
      suggestions in interface cloud.commandframework.arguments.parser.ArgumentParser<C,T>