diff options
Diffstat (limited to 'patches/api/0292-Missing-Entity-API.patch')
-rw-r--r-- | patches/api/0292-Missing-Entity-API.patch | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/patches/api/0292-Missing-Entity-API.patch b/patches/api/0292-Missing-Entity-API.patch index e5b5628d97..26800f488d 100644 --- a/patches/api/0292-Missing-Entity-API.patch +++ b/patches/api/0292-Missing-Entity-API.patch @@ -462,9 +462,23 @@ index c7d6a328def83619dca9b6122aeb5870e4585e70..795e799fec7cfd65a0e08bb3f941148d * Mark the entity's removal. * diff --git a/src/main/java/org/bukkit/entity/Fireball.java b/src/main/java/org/bukkit/entity/Fireball.java -index ceaf263bc554a92a232bd3ed18ea67ce4e0b487a..dc8ed9164f22eb140e16b9b25a82f85b873ada42 100644 +index ceaf263bc554a92a232bd3ed18ea67ce4e0b487a..fcb8a7c3e885a89191556bf4ee5edab2e926d4b1 100644 --- a/src/main/java/org/bukkit/entity/Fireball.java +++ b/src/main/java/org/bukkit/entity/Fireball.java +@@ -12,11 +12,11 @@ public interface Fireball extends Projectile, Explosive { + * Sets the direction the fireball should be flying towards. + * The direction vector will be normalized and the default speed will be applied. + * <br> +- * To also change the speed of the fireball, use {@link #setVelocity(Vector)}. ++ * To also change the acceleration of the fireball, use {@link #setPower(Vector)}. + * <b>Note:</b> that the client may not respect non-default speeds and will therefore + * mispredict the location of the fireball, causing visual stutter. + * <br> +- * <b>Also Note:</b> that this method and {@link #setVelocity(Vector)} will override each other. ++ * <b>Also Note:</b> that this method and {@link #setPower(Vector)} will override each other. + * + * @param direction the direction this fireball should be flying towards + * @see #setVelocity(Vector) @@ -32,4 +32,32 @@ public interface Fireball extends Projectile, Explosive { @NotNull public Vector getDirection(); |