diff --git a/paper-api/src/main/java/org/bukkit/entity/AbstractArrow.java b/paper-api/src/main/java/org/bukkit/entity/AbstractArrow.java index 88cebc004f..5b50a4e10e 100644 --- a/paper-api/src/main/java/org/bukkit/entity/AbstractArrow.java +++ b/paper-api/src/main/java/org/bukkit/entity/AbstractArrow.java @@ -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. */