SPIGOT-4803: Fox related APIs

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-04-28 17:58:30 +10:00
parent b91a465a3f
commit 5f1aef7419
3 changed files with 55 additions and 8 deletions

View File

@@ -432,6 +432,13 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
*/
public boolean isRiptiding();
/**
* Returns whether this entity is slumbering.
*
* @return slumber state
*/
public boolean isSleeping();
/**
* Sets whether an entity will have AI.
*