aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0209-Add-playPickupItemAnimation-to-LivingEntity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0209-Add-playPickupItemAnimation-to-LivingEntity.patch')
-rw-r--r--patches/api/0209-Add-playPickupItemAnimation-to-LivingEntity.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/api/0209-Add-playPickupItemAnimation-to-LivingEntity.patch b/patches/api/0209-Add-playPickupItemAnimation-to-LivingEntity.patch
index cc0b04bb45..809eb90a68 100644
--- a/patches/api/0209-Add-playPickupItemAnimation-to-LivingEntity.patch
+++ b/patches/api/0209-Add-playPickupItemAnimation-to-LivingEntity.patch
@@ -5,14 +5,15 @@ Subject: [PATCH] Add playPickupItemAnimation to LivingEntity
diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java
-index 10d76fcd509702042c528fab96b963e9c6d210a5..3969f3c188211838cb576465bd64c0f63ae85080 100644
+index 0a0e3fe33158f0424398c0abf50ea55825c452c5..d9dee0486c5f7c9a948a2c1a3497e2745d747965 100644
--- a/src/main/java/org/bukkit/entity/LivingEntity.java
+++ b/src/main/java/org/bukkit/entity/LivingEntity.java
-@@ -1045,5 +1045,28 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
- * @param jumping entity jump state
+@@ -1140,4 +1140,29 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
*/
void setJumping(boolean jumping);
+ // Paper end - entity jump API
+
++ // Paper start - pickup animation API
+ /**
+ * Plays pickup item animation towards this entity.
+ * <p>
@@ -35,5 +36,5 @@ index 10d76fcd509702042c528fab96b963e9c6d210a5..3969f3c188211838cb576465bd64c0f6
+ * @param quantity quantity of item
+ */
+ void playPickupItemAnimation(@NotNull Item item, int quantity);
- // Paper end
++ // Paper end - pickup animation API
}