getCachedEntity

abstract fun getCachedEntity(@NonNull entityZone: EntityZone): Entity

Get cached entity based on entity zone. Note that if the Zone (property and/or building) is not cached, it will return null

Return

Corresponding cached Entity or null if not cached or does not exist

Parameters

entityZone

The entity zone to retrieve