summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/entity/FishHook.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/FishHook.java b/src/main/java/org/bukkit/entity/FishHook.java
index 45b7f03d..fdd48d0f 100644
--- a/src/main/java/org/bukkit/entity/FishHook.java
+++ b/src/main/java/org/bukkit/entity/FishHook.java
@@ -11,7 +11,9 @@ public interface FishHook extends Projectile {
* 1.0 = Instant catch.
*
* @return chance the bite chance
+ * @deprecated has no effect in newer Minecraft versions
*/
+ @Deprecated
public double getBiteChance();
/**
@@ -23,6 +25,8 @@ public interface FishHook extends Projectile {
* @param chance the bite chance
* @throws IllegalArgumentException if the bite chance is not between 0
* and 1
+ * @deprecated has no effect in newer Minecraft versions
*/
+ @Deprecated
public void setBiteChance(double chance) throws IllegalArgumentException;
}