SPIGOT-3807: Improve getEyeHeight

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-02-10 12:16:43 +11:00
parent 29f9b7d659
commit 0a870c9752

View File

@@ -29,11 +29,11 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti
/** /**
* Gets the height of the living entity's eyes above its Location. * Gets the height of the living entity's eyes above its Location.
* *
* @param ignoreSneaking if set to true, the effects of sneaking will be * @param ignorePose if set to true, the effects of pose changes, eg
* ignored * sneaking and gliding will be ignored
* @return height of the living entity's eyes above its location * @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. * Get a Location detailing the current eye position of the living entity.