doEntityLookable

fun doEntityLookable(entity: Entity, whoToLook: (Entity) -> Boolean = Look.TO_NEAR_PLAYER, lookDistance: Float = 5.0f)

Registers look behaviour for entities like entity.

Throws