aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0490-Improve-entity-effect-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0490-Improve-entity-effect-API.patch')
-rw-r--r--patches/api/0490-Improve-entity-effect-API.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/api/0490-Improve-entity-effect-API.patch b/patches/api/0490-Improve-entity-effect-API.patch
index 582a502735..6ec450bcea 100644
--- a/patches/api/0490-Improve-entity-effect-API.patch
+++ b/patches/api/0490-Improve-entity-effect-API.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Improve entity effect API
diff --git a/src/main/java/org/bukkit/EntityEffect.java b/src/main/java/org/bukkit/EntityEffect.java
-index 5341957b10cccd7bce5a7595699b1d90412a01d0..912dafd5a8884d7973b2126f97ecdbe54e78937f 100644
+index 5341957b10cccd7bce5a7595699b1d90412a01d0..ef0acab253db878f1edee51b585fd1b20ef9161d 100644
--- a/src/main/java/org/bukkit/EntityEffect.java
+++ b/src/main/java/org/bukkit/EntityEffect.java
@@ -112,11 +112,25 @@ public enum EntityEffect {
@@ -76,7 +76,7 @@ index 5341957b10cccd7bce5a7595699b1d90412a01d0..912dafd5a8884d7973b2126f97ecdbe5
HURT_BERRY_BUSH(44, LivingEntity.class),
/**
* Fox chews the food in its mouth
-@@ -331,7 +355,24 @@ public enum EntityEffect {
+@@ -331,7 +355,25 @@ public enum EntityEffect {
* Sniffer must have a target and be in {@link Sniffer.State#SEARCHING} or
* {@link Sniffer.State#DIGGING}
*/
@@ -97,6 +97,7 @@ index 5341957b10cccd7bce5a7595699b1d90412a01d0..912dafd5a8884d7973b2126f97ecdbe5
+ * creaking heart.
+ */
+ @MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
++ @org.jetbrains.annotations.ApiStatus.Experimental
+ SHAKE(66, org.bukkit.entity.CreakingTransient.class);
+ // Paper end - add missing EntityEffect