Commits

md_5 authored e0f09419b37
Treat ShulkerBullet as Projectile
No tags

src/main/java/org/bukkit/entity/ShulkerBullet.java

Modified
1 1 package org.bukkit.entity;
2 2
3 -import org.bukkit.projectiles.ProjectileSource;
4 -
5 -public interface ShulkerBullet extends Entity {
6 -
7 - /**
8 - * Retrieve the shooter of this bullet.
9 - *
10 - * @return the {@link ProjectileSource} that shot this bullet
11 - */
12 - ProjectileSource getShooter();
13 -
14 - /**
15 - * Set the shooter of this bullet.
16 - *
17 - * @param source the {@link ProjectileSource} that shot this bullet
18 - */
19 - void setShooter(ProjectileSource source);
3 +public interface ShulkerBullet extends Projectile {
20 4
21 5 /**
22 6 * Retrieve the target of this bullet.
23 7 *
24 8 * @return the targeted entity
25 9 */
26 10 Entity getTarget();
27 11
28 12 /**
29 13 * Sets the target of this bullet

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut