mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-21 07:09:21 +08:00
38 lines
937 B
Diff
38 lines
937 B
Diff
From c18d2d4d3d4a6fa1a14c7bc35c77b1dccba60939 Mon Sep 17 00:00:00 2001
|
|
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 26d3473..df177bc 100644
|
|
--- 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
|
|
+{
|
|
+
|
|
+ public class Spigot
|
|
+ {
|
|
+
|
|
+ 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
|
|
|