mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
Remove old getLineOfSight
By: md_5 <git@md-5.net>
This commit is contained in:
parent
158afaffeb
commit
9cf4fbdb11
1 changed files with 0 additions and 17 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue