Class WorldArgument.WorldParser<C>

    • Method Detail

      • suggestions

        public @NonNull List<Stringsuggestions​(@NonNull CommandContext<C> commandContext,
                                                 @NonNull String input)
        Description copied from interface: ArgumentParser
        Get a list of suggested arguments that would be correctly parsed by this parser

        This method is likely to be called for every character provided by the sender and so it may be necessary to cache results locally to prevent unnecessary computations

        Specified by:
        suggestions in interface ArgumentParser<C,​World>
        commandContext - Command context
        input - Input string
        List of suggestions