SPIGOT-4199: Riptide related APIs

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-08-02 09:38:44 +10:00
parent da7f9c03f6
commit 65dd6c17e9
2 changed files with 55 additions and 0 deletions

View File

@@ -341,6 +341,15 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti
*/
public void setSwimming(boolean swimming);
/**
* Checks to see if an entity is currently using the Riptide enchantment.
*
* @return True if this entity is currently riptiding.
* @deprecated draft API
*/
@Deprecated
public boolean isRiptiding();
/**
* Sets whether an entity will have AI.
*