Interface CommandExecutor

All Superinterfaces:
NormalExecutor<org.bukkit.command.CommandSender,BukkitCommandSender<? extends org.bukkit.command.CommandSender>>, TypedExecutor<org.bukkit.command.CommandSender,BukkitCommandSender<? extends org.bukkit.command.CommandSender>>
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 CommandExecutor extends NormalExecutor<org.bukkit.command.CommandSender,BukkitCommandSender<? extends org.bukkit.command.CommandSender>>
A normal command executor for a CommandSender
  • Method Summary

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

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

    executeWith