mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 03:05:52 -07:00
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user