mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
SPIGOT-5782: Set Arrow Launched From Crossbow
This commit is contained in:
parent
b2f1908c59
commit
149527f7b1
1 changed files with 14 additions and 0 deletions
|
@ -110,6 +110,20 @@ public interface AbstractArrow extends Projectile {
|
||||||
*/
|
*/
|
||||||
public void setPickupStatus(@NotNull PickupStatus status);
|
public void setPickupStatus(@NotNull PickupStatus status);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets if this arrow was shot from a crossbow.
|
||||||
|
*
|
||||||
|
* @return if shot from a crossbow
|
||||||
|
*/
|
||||||
|
public boolean isShotFromCrossbow();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets if this arrow was shot from a crossbow.
|
||||||
|
*
|
||||||
|
* @param shotFromCrossbow if shot from a crossbow
|
||||||
|
*/
|
||||||
|
public void setShotFromCrossbow(boolean shotFromCrossbow);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents the pickup status of this arrow.
|
* Represents the pickup status of this arrow.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue