executesResult
Registers an execution handler that returns a custom Brigadier result code.
fun <S, Sender> LiteralNode<S>.executesResult(platform: PlatformAdapter<S, Sender>, block: ExecuteScope<S>.(Sender, KContext<S>) -> Int)
Execution handler with custom result code that extracts the platform Sender before invoking block.