35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From c465eb8207feeb742f11eee16e7e1f44b0e3f33c Mon Sep 17 00:00:00 2001
|
|
From: libraryaddict <libraryaddict115@yahoo.co.nz>
|
|
Date: Wed, 21 Oct 2015 04:38:17 +1300
|
|
Subject: [PATCH] Change LivingEntity to support Mineplex calls
|
|
|
|
|
|
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);
|
|
}
|
|
--
|
|
1.9.5.msysgit.0
|
|
|