Interface ConsoleResultingCommandExecutor

All Superinterfaces:
ResultingExecutor<org.bukkit.command.ConsoleCommandSender,BukkitConsoleCommandSender>, TypedExecutor<org.bukkit.command.ConsoleCommandSender,BukkitConsoleCommandSender>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ConsoleResultingCommandExecutor extends ResultingExecutor<org.bukkit.command.ConsoleCommandSender,BukkitConsoleCommandSender>
A resulting command executor for a ConsoleCommandSender
  • Method Summary

    Modifier and Type
    Method
    Description
    default ExecutorType
    Returns the type of the sender of the current executor.
    default int
    run(ExecutionInfo<org.bukkit.command.ConsoleCommandSender,BukkitConsoleCommandSender> info)
    The code to run when this command is performed
    int
    run(org.bukkit.command.ConsoleCommandSender sender, CommandArguments args)
    The code to run when this command is performed

    Methods inherited from interface dev.jorel.commandapi.executors.ResultingExecutor

    executeWith