mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
Treat ShulkerBullet as Projectile
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7bf2df9b2d
commit
3589bbb79e
1 changed files with 1 additions and 17 deletions
|
@ -1,22 +1,6 @@
|
||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
import org.bukkit.projectiles.ProjectileSource;
|
public interface ShulkerBullet extends Projectile {
|
||||||
|
|
||||||
public interface ShulkerBullet extends Entity {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve the shooter of this bullet.
|
|
||||||
*
|
|
||||||
* @return the {@link ProjectileSource} that shot this bullet
|
|
||||||
*/
|
|
||||||
ProjectileSource getShooter();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the shooter of this bullet.
|
|
||||||
*
|
|
||||||
* @param source the {@link ProjectileSource} that shot this bullet
|
|
||||||
*/
|
|
||||||
void setShooter(ProjectileSource source);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve the target of this bullet.
|
* Retrieve the target of this bullet.
|
||||||
|
|
Loading…
Add table
Reference in a new issue