2016-04-25 02:37:18 +02:00
|
|
|
From ad41271f22ea5f75476451b2c23f3ab0e54e2a6d Mon Sep 17 00:00:00 2001
|
2015-10-20 18:05:27 +02:00
|
|
|
From: libraryaddict <libraryaddict115@yahoo.co.nz>
|
2015-10-23 10:28:01 +02:00
|
|
|
Date: Fri, 23 Oct 2015 21:23:18 +1300
|
|
|
|
Subject: [PATCH] LivingEntity changes
|
2015-10-20 18:05:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
--
|
2016-04-25 02:19:41 +02:00
|
|
|
2.7.4
|
2015-10-20 18:05:27 +02:00
|
|
|
|