aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0312-Missing-Entity-Behavior-API.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2022-05-17 11:51:46 +0200
committerNassim Jahnke <[email protected]>2022-05-17 11:51:46 +0200
commit73bd35d07624fde87498e6e5151b2a13baae25b1 (patch)
tree84fbb768b2f77cfb79969f1ceab6a0529b29dc93 /patches/api/0312-Missing-Entity-Behavior-API.patch
parent0116751101d8d1cbdb373b33a06ac265aa4e4e28 (diff)
downloadPaper-73bd35d07624fde87498e6e5151b2a13baae25b1.tar.gz
Paper-73bd35d07624fde87498e6e5151b2a13baae25b1.zip
Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 218294b1 PR-743: Support setting individual Wither head targets CraftBukkit Changes: d48f2d1a PR-1047: Support setting individual Wither head targets 518f1bee SPIGOT-6948: Motion from Explosion after Respawn f3c7a6ac SPIGOT-7019: Add yaw in World#getSpawnLocation
Diffstat (limited to 'patches/api/0312-Missing-Entity-Behavior-API.patch')
-rw-r--r--patches/api/0312-Missing-Entity-Behavior-API.patch11
1 files changed, 6 insertions, 5 deletions
diff --git a/patches/api/0312-Missing-Entity-Behavior-API.patch b/patches/api/0312-Missing-Entity-Behavior-API.patch
index 1bfd5f4f68..9868eeaf5d 100644
--- a/patches/api/0312-Missing-Entity-Behavior-API.patch
+++ b/patches/api/0312-Missing-Entity-Behavior-API.patch
@@ -635,13 +635,14 @@ index 627e3c1a96ae3331f5aa2dd7803dd2a31c7204be..3c447d2300c866ae605eeca97bd869f4
// Paper end
}
diff --git a/src/main/java/org/bukkit/entity/Wither.java b/src/main/java/org/bukkit/entity/Wither.java
-index 426d3693317cd303d35d8203026b528d87e401d5..8c95cd6933f11076de936854f379e6fc8600b525 100644
+index b86f0196e6eb8070830f63a94f732522c2a6c2f1..a1b42ae35dda2da90ba00a2d6666514f7c5b11dd 100644
--- a/src/main/java/org/bukkit/entity/Wither.java
+++ b/src/main/java/org/bukkit/entity/Wither.java
-@@ -6,4 +6,34 @@ import com.destroystokyo.paper.entity.RangedEntity;
- * Represents a Wither boss
- */
- public interface Wither extends Monster, Boss, RangedEntity { // Paper
+@@ -48,4 +48,35 @@ public interface Wither extends Monster, Boss, com.destroystokyo.paper.entity.Ra
+ LEFT,
+ RIGHT
+ }
++
+ // Paper start
+ /**
+ * @return whether the wither is charged