mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
SPIGOT-5782: Set Arrow Launched From Crossbow
By: md_5 <git@md-5.net>
This commit is contained in:
parent
09c7575189
commit
3fd0ae0a81
@ -110,6 +110,20 @@ public interface AbstractArrow extends Projectile {
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user