From 1ce014ded9d1abf9bbe4686d5b3b400d7be3e888 Mon Sep 17 00:00:00 2001
From: Bukkit/Spigot <noreply+git-bukkit@papermc.io>
Date: Sun, 2 Jan 2011 16:26:50 +0800
Subject: [PATCH] Added ArrowEntity and World.spawnArrow().

By: sk89q <the.sk89q@gmail.com>
---
 paper-api/src/main/java/org/bukkit/ArrowEntity.java |  9 +++++++++
 paper-api/src/main/java/org/bukkit/World.java       | 12 ++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 paper-api/src/main/java/org/bukkit/ArrowEntity.java

diff --git a/paper-api/src/main/java/org/bukkit/ArrowEntity.java b/paper-api/src/main/java/org/bukkit/ArrowEntity.java
new file mode 100644
index 0000000000..d1b24c2993
--- /dev/null
+++ b/paper-api/src/main/java/org/bukkit/ArrowEntity.java
@@ -0,0 +1,9 @@
+package org.bukkit;
+
+/**
+ * Represents an arrow.
+ * 
+ * @author sk89q
+ */
+public interface ArrowEntity extends Entity {
+}
diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java
index 1ff0d7b3be..f65856b5a2 100644
--- a/paper-api/src/main/java/org/bukkit/World.java
+++ b/paper-api/src/main/java/org/bukkit/World.java
@@ -15,4 +15,16 @@ public interface World {
     public Chunk getChunkAt(Block block);
 
     public boolean isChunkLoaded();
+    
+    /**
+     * Spawns an arrow.
+     * 
+     * @param loc
+     * @param velocity velocity vector
+     * @param speed a reasonable speed is 0.6
+     * @param spread a reasonable spread is 12
+     * @return the arrow entity
+     */
+    public ArrowEntity spawnArrow(Location loc, Vector velocity,
+            float speed, float spread);
 }