Interface CustomCommandExecutor.CommandAdapter<T>

All Superinterfaces:
com.mojang.brigadier.Command<T>, CustomCommandExecutor<T>
All Known Implementing Classes:
DebugCommand.TraceCustomExecutor, FunctionCommand.FunctionCustomExecutor, ReturnCommand.ReturnFailCustomExecutor, ReturnCommand.ReturnValueCustomExecutor
Enclosing interface:
CustomCommandExecutor<T>

public static interface CustomCommandExecutor.CommandAdapter<T> extends com.mojang.brigadier.Command<T>, CustomCommandExecutor<T>
  • Method Details

    • run

      default int run(com.mojang.brigadier.context.CommandContext<T> p_309955_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      run in interface com.mojang.brigadier.Command<T>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException