isInCombat

fun isInCombat(playerId: UUID, nowTicks: Long, cooldownTicks: Long): Boolean(source)

Checks if the player is currently considered to be in combat.