Package dev.jorel.commandapi.executors
Interface PlayerResultingExecutionInfo
- All Superinterfaces:
ResultingExecutor<org.bukkit.entity.Player,,BukkitPlayer> TypedExecutor<org.bukkit.entity.Player,BukkitPlayer>
public interface PlayerResultingExecutionInfo
extends ResultingExecutor<org.bukkit.entity.Player,BukkitPlayer>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecutorTypegetType()Returns the type of the sender of the current executor.intrun(ExecutionInfo<org.bukkit.entity.Player, BukkitPlayer> info) Methods inherited from interface dev.jorel.commandapi.executors.ResultingExecutor
executeWith
-
Method Details
-
run
int run(ExecutionInfo<org.bukkit.entity.Player, BukkitPlayer> info) throws WrapperCommandSyntaxException- Specified by:
runin interfaceResultingExecutor<org.bukkit.entity.Player,BukkitPlayer> - Parameters:
info- The ExecutionInfo for this command- Returns:
- the result of this command
- Throws:
WrapperCommandSyntaxException
-
getType
Returns the type of the sender of the current executor.- Specified by:
getTypein interfaceTypedExecutor<org.bukkit.entity.Player,BukkitPlayer> - Returns:
- the type of the sender of the current executor
-