Class CommandInvocation

java.lang.Object
com.ultikits.ultitools.command.engine.CommandInvocation

final class CommandInvocation extends Object
Adapts parsed Brigadier values to the existing validation and execution pipeline.
  • Field Details

  • Constructor Details

  • Method Details

    • run

      int run(com.mojang.brigadier.context.CommandContext<io.papermc.paper.command.brigadier.CommandSourceStack> context, Method method, Map<String,Object> values)
    • help

      int help(com.mojang.brigadier.context.CommandContext<io.papermc.paper.command.brigadier.CommandSourceStack> context)
    • refused

      boolean refused(com.mojang.brigadier.context.CommandContext<io.papermc.paper.command.brigadier.CommandSourceStack> context)
    • context

      CommandContext context(com.mojang.brigadier.context.CommandContext<io.papermc.paper.command.brigadier.CommandSourceStack> context)
    • rootName

      private String rootName(com.mojang.brigadier.context.CommandContext<io.papermc.paper.command.brigadier.CommandSourceStack> context)
    • rawArgs

      static String[] rawArgs(String input)