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>
        Parameters:
        commandContext - Command context
        input - Input string
        Returns:
        List of suggestions