aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0489-Improve-entity-effect-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0489-Improve-entity-effect-API.patch')
-rw-r--r--patches/api/0489-Improve-entity-effect-API.patch8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/api/0489-Improve-entity-effect-API.patch b/patches/api/0489-Improve-entity-effect-API.patch
index 95d238f818..2f11287f3e 100644
--- a/patches/api/0489-Improve-entity-effect-API.patch
+++ b/patches/api/0489-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 d7ccccdf3f5e2c572efd528a92e240ec6ea60028..51d51638b7220f886c8415581869df8708e72fef 100644
+index d7ccccdf3f5e2c572efd528a92e240ec6ea60028..37c321067ee25f8a38130eb65ed06e1c986c65b6 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 d7ccccdf3f5e2c572efd528a92e240ec6ea60028..51d51638b7220f886c8415581869df87
HURT_BERRY_BUSH(44, LivingEntity.class),
/**
* Fox chews the food in its mouth
-@@ -331,7 +355,25 @@ public enum EntityEffect {
+@@ -331,7 +355,23 @@ public enum EntityEffect {
* Sniffer must have a target and be in {@link Sniffer.State#SEARCHING} or
* {@link Sniffer.State#DIGGING}
*/
@@ -96,9 +96,7 @@ index d7ccccdf3f5e2c572efd528a92e240ec6ea60028..51d51638b7220f886c8415581869df87
+ * Does not apply to plain creaking entities as they are not invulnerable like the transient ones spawned by the
+ * creaking heart.
+ */
-+ @MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
-+ @org.jetbrains.annotations.ApiStatus.Experimental
-+ SHAKE(66, org.bukkit.entity.CreakingTransient.class);
++ SHAKE(66, org.bukkit.entity.Creaking.class);
+ // Paper end - add missing EntityEffect
private final byte data;