getLevellableState

@NotNull
abstract fun getLevellableState(@NotNull livingEntity: LivingEntity): LevellableState

Check if an existing mob is allowed to be levelled, according to the user's configuration.

Thread-safety intended, but not tested.

Return

if the mob is allowed to be levelled (yes/no), with reason

Parameters

livingEntity

target mob