35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
From 41b16c2e04b2bc8ada5d0ed363e4ea5e6b466ee1 Mon Sep 17 00:00:00 2001
|
|
From: libraryaddict <libraryaddict115@yahoo.co.nz>
|
|
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.5.0
|
|
|