aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0489-Improve-entity-effect-API.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-12-03 21:24:17 +0100
committerNassim Jahnke <[email protected]>2024-12-03 21:24:17 +0100
commitd7d2f88893ce4c10d5e77c606b06173463c8613d (patch)
treec1bb9633652384c18cb4948795b1338e69c2b21f /patches/api/0489-Improve-entity-effect-API.patch
parentdc74c6f19e0f47926cd9998a5153b8ef6708e717 (diff)
downloadPaper-d7d2f88893ce4c10d5e77c606b06173463c8613d.tar.gz
Paper-d7d2f88893ce4c10d5e77c606b06173463c8613d.zip
Apply remaining patches, fix API
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;