getLevelOfMob

abstract fun getLevelOfMob(@NotNull livingEntity: LivingEntity): Int

Retrieve the level of a levelled mob.

Thread-safety intended, but not tested.

Return

the mob's level

Parameters

livingEntity

the levelled mob to get the level of