Package dev.jorel.commandapi.executors
Interface NativeResultingExecutionInfo
- All Superinterfaces:
ResultingExecutor<NativeProxyCommandSender,,BukkitNativeProxyCommandSender> TypedExecutor<NativeProxyCommandSender,BukkitNativeProxyCommandSender>
public interface NativeResultingExecutionInfo
extends ResultingExecutor<NativeProxyCommandSender,BukkitNativeProxyCommandSender>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecutorTypegetType()Returns the type of the sender of the current executor.intThe code to run when this command is performedMethods inherited from interface dev.jorel.commandapi.executors.ResultingExecutor
executeWith
-
Method Details
-
run
int run(ExecutionInfo<NativeProxyCommandSender, BukkitNativeProxyCommandSender> info) throws WrapperCommandSyntaxExceptionThe code to run when this command is performed- Specified by:
runin interfaceResultingExecutor<NativeProxyCommandSender,BukkitNativeProxyCommandSender> - 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<NativeProxyCommandSender,BukkitNativeProxyCommandSender> - Returns:
- the type of the sender of the current executor
-