From ad41271f22ea5f75476451b2c23f3ab0e54e2a6d Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 23 Oct 2015 21:23:18 +1300 Subject: [PATCH] LivingEntity changes diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java index 48e2508..fb623ae 100644 --- a/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/src/main/java/org/bukkit/entity/LivingEntity.java @@ -392,4 +392,20 @@ public interface LivingEntity extends Entity, Damageable, ProjectileSource { * @return whether the operation was successful */ public boolean setLeashHolder(Entity holder); + + public boolean shouldBreakLeash(); + + public void setShouldBreakLeash(boolean shouldBreakLeash); + + public boolean shouldPullWhileLeashed(); + + public void setPullWhileLeashed(boolean pullWhileLeashed); + + public boolean isVegetated(); + + public void setVegetated(boolean vegetated); + + public boolean isGhost(); + + public void setGhost(boolean ghost); } -- 2.7.4