Remove old getLineOfSight

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2017-05-14 12:00:00 +10:00
parent 158afaffeb
commit 9cf4fbdb11

View file

@ -42,23 +42,6 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti
*/
public Location getEyeLocation();
/**
* Gets all blocks along the living entity's line of sight.
* <p>
* This list contains all blocks from the living entity's eye position to
* target inclusive.
*
* @param transparent HashSet containing all transparent block IDs (set to
* null for only air)
* @param maxDistance this is the maximum distance to scan (may be limited
* by server by at least 100 blocks, no less)
* @return list containing all blocks along the living entity's line of
* sight
* @deprecated Magic value
*/
@Deprecated
public List<Block> getLineOfSight(HashSet<Byte> transparent, int maxDistance);
/**
* Gets all blocks along the living entity's line of sight.
* <p>