mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +01:00
SPIGOT-3807: Improve getEyeHeight
By: md_5 <git@md-5.net>
This commit is contained in:
parent
29f9b7d659
commit
0a870c9752
1 changed files with 3 additions and 3 deletions
|
@ -29,11 +29,11 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti
|
|||
/**
|
||||
* Gets the height of the living entity's eyes above its Location.
|
||||
*
|
||||
* @param ignoreSneaking if set to true, the effects of sneaking will be
|
||||
* ignored
|
||||
* @param ignorePose if set to true, the effects of pose changes, eg
|
||||
* sneaking and gliding will be ignored
|
||||
* @return height of the living entity's eyes above its location
|
||||
*/
|
||||
public double getEyeHeight(boolean ignoreSneaking);
|
||||
public double getEyeHeight(boolean ignorePose);
|
||||
|
||||
/**
|
||||
* Get a Location detailing the current eye position of the living entity.
|
||||
|
|
Loading…
Add table
Reference in a new issue