2014-03-09 23:14:45 +01:00
|
|
|
From cbf63431431dd4051330fae4332ab3c8344632be Mon Sep 17 00:00:00 2001
|
2013-06-02 07:15:15 +02: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
|
2014-01-31 21:42:29 +01:00
|
|
|
index e49eef0..e7a32f7 100644
|
2013-06-02 07:15:15 +02:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Arrow.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Arrow.java
|
2014-01-31 21:42:29 +01:00
|
|
|
@@ -39,4 +39,20 @@ public interface Arrow extends Projectile {
|
|
|
|
* @param critical whether or not it should be critical
|
|
|
|
*/
|
|
|
|
public void setCritical(boolean critical);
|
2013-06-02 07:15:15 +02:00
|
|
|
+
|
2013-08-03 11:54:36 +02:00
|
|
|
+ public class Spigot extends Entity.Spigot
|
2013-06-02 07:15:15 +02:00
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ public double getDamage()
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setDamage(double damage)
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ Spigot spigot();
|
2014-01-31 21:42:29 +01:00
|
|
|
}
|
2013-06-02 07:15:15 +02:00
|
|
|
--
|
2014-03-09 23:14:45 +01:00
|
|
|
1.8.3.2
|
2013-06-02 07:15:15 +02:00
|
|
|
|