mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Block trace methods do not require hash sets
This commit is contained in:
parent
abf0cfdcb4
commit
1bf1f3f456
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
||||||
* This list contains all blocks from the living entity's eye position to
|
* This list contains all blocks from the living entity's eye position to
|
||||||
* target inclusive. This method considers all blocks as 1x1x1 in size.
|
* target inclusive. This method considers all blocks as 1x1x1 in size.
|
||||||
*
|
*
|
||||||
* @param transparent HashSet containing all transparent block Materials (set to
|
* @param transparent Set containing all transparent block Materials (set to
|
||||||
* null for only air)
|
* null for only air)
|
||||||
* @param maxDistance this is the maximum distance to scan (may be limited
|
* @param maxDistance this is the maximum distance to scan (may be limited
|
||||||
* by server by at least 100 blocks, no less)
|
* by server by at least 100 blocks, no less)
|
||||||
|
@ -71,7 +71,7 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
||||||
* collision shapes into account, see {@link #getTargetBlockExact(int,
|
* collision shapes into account, see {@link #getTargetBlockExact(int,
|
||||||
* FluidCollisionMode)}.
|
* FluidCollisionMode)}.
|
||||||
*
|
*
|
||||||
* @param transparent HashSet containing all transparent block Materials (set to
|
* @param transparent Set containing all transparent block Materials (set to
|
||||||
* null for only air)
|
* null for only air)
|
||||||
* @param maxDistance this is the maximum distance to scan (may be limited
|
* @param maxDistance this is the maximum distance to scan (may be limited
|
||||||
* by server by at least 100 blocks, no less)
|
* by server by at least 100 blocks, no less)
|
||||||
|
@ -86,7 +86,7 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
||||||
* The target block will be the last block in the list. This method
|
* The target block will be the last block in the list. This method
|
||||||
* considers all blocks as 1x1x1 in size.
|
* considers all blocks as 1x1x1 in size.
|
||||||
*
|
*
|
||||||
* @param transparent HashSet containing all transparent block Materials (set to
|
* @param transparent Set containing all transparent block Materials (set to
|
||||||
* null for only air)
|
* null for only air)
|
||||||
* @param maxDistance this is the maximum distance to scan. This may be
|
* @param maxDistance this is the maximum distance to scan. This may be
|
||||||
* further limited by the server, but never to less than 100 blocks
|
* further limited by the server, but never to less than 100 blocks
|
||||||
|
|
Loading…
Add table
Reference in a new issue