geforkt von Mirrors/Paper
Remove old getLineOfSight
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
158afaffeb
Commit
9cf4fbdb11
@ -42,23 +42,6 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti
|
|||||||
*/
|
*/
|
||||||
public Location getEyeLocation();
|
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.
|
* Gets all blocks along the living entity's line of sight.
|
||||||
* <p>
|
* <p>
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren