2013-08-03 09:54:36 +00:00
|
|
|
From 3e5b2a2802c4739be6592fa013aa2ab5d0f91157 Mon Sep 17 00:00:00 2001
|
2013-06-02 05:15:15 +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
|
2013-08-03 09:54:36 +00:00
|
|
|
index 26d3473..676fe2b 100644
|
2013-06-02 05:15:15 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Arrow.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Arrow.java
|
|
|
|
@@ -3,4 +3,22 @@ package org.bukkit.entity;
|
|
|
|
/**
|
|
|
|
* Represents an arrow.
|
|
|
|
*/
|
|
|
|
-public interface Arrow extends Projectile {}
|
|
|
|
+public interface Arrow extends Projectile
|
|
|
|
+{
|
|
|
|
+
|
2013-08-03 09:54:36 +00:00
|
|
|
+ public class Spigot extends Entity.Spigot
|
2013-06-02 05:15:15 +00:00
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ public double getDamage()
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setDamage(double damage)
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ Spigot spigot();
|
|
|
|
+}
|
|
|
|
--
|
|
|
|
1.8.1.2
|
|
|
|
|