Class MultiplePlayerSelectorArgument.MultiplePlayerSelectorParser<C>

java.lang.Object
cloud.commandframework.bukkit.parsers.selector.MultiplePlayerSelectorArgument.MultiplePlayerSelectorParser<C>
All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,MultiplePlayerSelector>
Enclosing class:
MultiplePlayerSelectorArgument<C>

public static final class MultiplePlayerSelectorArgument.MultiplePlayerSelectorParser<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 MultiplePlayerSelector mapResult(@NonNull String input, @NonNull cloud.commandframework.bukkit.parsers.selector.SelectorUtils.EntitySelectorWrapper wrapper)
    • legacyParse

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

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

      public cloud.commandframework.arguments.parser.ArgumentParseResult<MultiplePlayerSelector> 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>