aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0261-added-Wither-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0261-added-Wither-API.patch')
-rw-r--r--patches/api/0261-added-Wither-API.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/patches/api/0261-added-Wither-API.patch b/patches/api/0261-added-Wither-API.patch
deleted file mode 100644
index dbfc15a42c..0000000000
--- a/patches/api/0261-added-Wither-API.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Jake Potrebic <[email protected]>
-Date: Sun, 5 Jul 2020 15:39:40 -0700
-Subject: [PATCH] added Wither API
-
-
-diff --git a/src/main/java/org/bukkit/entity/Wither.java b/src/main/java/org/bukkit/entity/Wither.java
-index 426d3693317cd303d35d8203026b528d87e401d5..8c95cd6933f11076de936854f379e6fc8600b525 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
-+ // Paper start
-+ /**
-+ * @return whether the wither is charged
-+ */
-+ boolean isCharged();
-+
-+ /**
-+ * @return ticks the wither is invulnerable for
-+ */
-+ int getInvulnerableTicks();
-+
-+ /**
-+ * Sets for how long in the future, the wither should be invulnerable.
-+ *
-+ * @param ticks ticks the wither is invulnerable for
-+ */
-+ void setInvulnerableTicks(int ticks);
-+
-+ /**
-+ * @return whether the wither can travel through portals
-+ */
-+ boolean canTravelThroughPortals();
-+
-+ /**
-+ * Sets whether the wither can travel through portals.
-+ *
-+ * @param value whether the wither can travel through portals
-+ */
-+ void setCanTravelThroughPortals(boolean value);
-+ // Paper end
- }