Archiviert
13
0
Dieser Commit ist enthalten in:
MiniDigger 2020-09-02 14:20:10 +02:00 committet von GitHub
Ursprung c247857fd4
Commit 03689cf9d2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -5,7 +5,7 @@ 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 d225a59f149cdc770ee3243f9604291c28f5a2ed..f3813210e63d9859c0461833a502b43361a2e134 100644
index d225a59f149cdc770ee3243f9604291c28f5a2ed..5adf7501009c8570395c42b09662bbfff7d5fc14 100644
--- a/src/main/java/org/bukkit/entity/LivingEntity.java
+++ b/src/main/java/org/bukkit/entity/LivingEntity.java
@@ -791,5 +791,28 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
@ -15,9 +15,9 @@ index d225a59f149cdc770ee3243f9604291c28f5a2ed..f3813210e63d9859c0461833a502b433
+
+ /**
+ * Plays pickup item animation towards this entity.
+ * <p/>
+ * <p>
+ * <b>This will remove the item on the client.</b>
+ * <p/>
+ * <p>
+ * Quantity is inferred to be that of the {@link Item}.
+ *
+ * @param item item to pickup
@ -28,7 +28,7 @@ index d225a59f149cdc770ee3243f9604291c28f5a2ed..f3813210e63d9859c0461833a502b433
+
+ /**
+ * Plays pickup item animation towards this entity.
+ * <p/>
+ * <p>
+ * <b>This will remove the item on the client.</b>
+ *
+ * @param item item to pickup