diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java index 35746b06..40a4b943 100644 --- a/src/main/java/org/bukkit/entity/Entity.java +++ b/src/main/java/org/bukkit/entity/Entity.java @@ -98,6 +98,13 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent */ public boolean isOnGround(); + /** + * Returns true if the entity is in water. + * + * @return true if the entity is in water. + */ + public boolean isInWater(); + /** * Gets the current world this entity resides in *