2015-04-09 03:18:56 +00:00
|
|
|
From bcb17ef16a49b51777c1cb09d1be97284f947bdd Mon Sep 17 00:00:00 2001
|
2014-07-21 20:46:54 +00:00
|
|
|
From: md_5 <md_5@live.com.au>
|
|
|
|
Date: Sun, 2 Jun 2013 15:08:24 +1000
|
|
|
|
Subject: [PATCH] Add Arrow API
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Arrow.java b/src/main/java/org/bukkit/entity/Arrow.java
|
|
|
|
index e49eef0..e7a32f7 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Arrow.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Arrow.java
|
|
|
|
@@ -39,4 +39,20 @@ public interface Arrow extends Projectile {
|
|
|
|
* @param critical whether or not it should be critical
|
|
|
|
*/
|
|
|
|
public void setCritical(boolean critical);
|
|
|
|
+
|
|
|
|
+ public class Spigot extends Entity.Spigot
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ public double getDamage()
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setDamage(double damage)
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ Spigot spigot();
|
|
|
|
}
|
|
|
|
--
|
2014-11-28 01:17:45 +00:00
|
|
|
2.1.0
|
2014-07-21 20:46:54 +00:00
|
|
|
|