https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/LivingEntity.html#hasLineOfSight-org.bukkit.entity.Entity- Есть ли в губке альтернатива для hasLineOfSight/getLineOfSight?
world.getIntersectingEntities(looker, distance) https://jd.spongepowered.org/7.1.0/org/spongepowered/api/world/extent/EntityUniverse.html#getIntersectingEntities-org.spongepowered.api.entity.Entity-double-
world.getIntersectingEntities(looker, distance)