findTarget

abstract fun findTarget(): Entity?

Finds a target for the entity.

This must always return null if no target was found.

Return

the target, or null if no target was found