firstOrNull

fun <B : Entity, T : B> LevelEntityGetter<B>.firstOrNull(type: EntityTypeTest<B, T>, predicate: Predicate<T>): T?