Failure
実行が失敗したことを示す結果
Inheritors
Types
Link copied to clipboard
Link copied to clipboard
data class ExecutionFailed(val reason: String, val cause: Throwable? = null) : CommandResult.Failure
実行に失敗した場合に使用される結果
Link copied to clipboard
引数が不正である場合に使用される結果
Link copied to clipboard
権限が不足している場合に使用される結果
Link copied to clipboard
data class PlayerOnly(val reason: String = "This command can only be executed by the player.") : CommandResult.Failure
プレイヤーのみ実行可能な場合に使用される結果
Link copied to clipboard
実行対象が存在しない場合に使用される結果