summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/ShulkerBullet.java
blob: f285c0a894930a7ef515b7bd9a4110b98a4d2eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.bukkit.entity;

public interface ShulkerBullet extends Projectile {

    /**
     * Retrieve the target of this bullet.
     *
     * @return the targeted entity
     */
    Entity getTarget();

    /**
     * Sets the target of this bullet
     *
     * @param target the entity to target
     */
    void setTarget(Entity target);
}