API patches
This commit is contained in:
parent
56e64243ed
commit
028e2d9f00
381 changed files with 263 additions and 311 deletions
32
patches/api/0121-Allow-setting-the-vex-s-summoner.patch
Normal file
32
patches/api/0121-Allow-setting-the-vex-s-summoner.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: BillyGalbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Sat, 6 Oct 2018 21:47:09 -0500
|
||||
Subject: [PATCH] Allow setting the vex's summoner
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Vex.java b/src/main/java/org/bukkit/entity/Vex.java
|
||||
index dc21f3ba648ab02a2b75ec429501143398c356f6..627e3c1a96ae3331f5aa2dd7803dd2a31c7204be 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Vex.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Vex.java
|
||||
@@ -73,4 +73,21 @@ public interface Vex extends Monster {
|
||||
* @return true if the entity has limited life
|
||||
*/
|
||||
boolean hasLimitedLife();
|
||||
+ // Paper start
|
||||
+
|
||||
+ /**
|
||||
+ * Get the Mob that summoned this vex
|
||||
+ *
|
||||
+ * @return Mob that summoned this vex
|
||||
+ */
|
||||
+ @Nullable
|
||||
+ Mob getSummoner();
|
||||
+
|
||||
+ /**
|
||||
+ * Set the summoner of this vex
|
||||
+ *
|
||||
+ * @param summoner New summoner
|
||||
+ */
|
||||
+ void setSummoner(@Nullable Mob summoner);
|
||||
+ // Paper end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue