Interface EntityResultingCommandExecutor

All Superinterfaces:
ResultingExecutor<org.bukkit.entity.Entity,BukkitEntity>, TypedExecutor<org.bukkit.entity.Entity,BukkitEntity>
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 EntityResultingCommandExecutor extends ResultingExecutor<org.bukkit.entity.Entity,BukkitEntity>
A resulting command executor for an Entity
  • 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.entity.Entity,BukkitEntity> info)
    The code to run when this command is performed
    int
    run(org.bukkit.entity.Entity sender, CommandArguments args)
    The code to run when this command is performed

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

    executeWith