#629: Add LivingEntity#isClimbing

This commit is contained in:
Martoph 2021-06-14 19:10:55 +10:00 committed by md_5
parent a791f93de2
commit 751469c6ba
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -469,6 +469,13 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
*/
public boolean isSleeping();
/**
* Gets if the entity is climbing.
*
* @return if the entity is climbing
*/
public boolean isClimbing();
/**
* Sets whether an entity will have AI.
*