Interface CommandParser


@Internal public interface CommandParser
  • Method Details

    • parser

      static CommandParser parser()
    • parse

      @Contract("_, _ -> new") CommandParser.Result parse(CommandSender sender, net.minestom.server.command.Graph graph, String input)
      Parses the command by following the graph
      Parameters:
      graph - structure to use for parsing
      input - command string without prefix
      Returns:
      the parsed command which can be executed and cached