summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/entity/Boat.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Boat.java b/src/main/java/org/bukkit/entity/Boat.java
index ed2d1788..36d6e969 100644
--- a/src/main/java/org/bukkit/entity/Boat.java
+++ b/src/main/java/org/bukkit/entity/Boat.java
@@ -10,14 +10,18 @@ public interface Boat extends Vehicle {
* velocity.
*
* @return The max speed.
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public double getMaxSpeed();
/**
* Sets the maximum speed of a boat. Must be nonnegative. Default is 0.4D.
*
* @param speed The max speed.
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public void setMaxSpeed(double speed);
/**
@@ -25,7 +29,9 @@ public interface Boat extends Vehicle {
* boats. The default is 0.2.
*
* @return The rate of deceleration
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public double getOccupiedDeceleration();
/**
@@ -34,7 +40,9 @@ public interface Boat extends Vehicle {
* The default is 0.2.
*
* @param rate deceleration rate
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public void setOccupiedDeceleration(double rate);
/**
@@ -43,7 +51,9 @@ public interface Boat extends Vehicle {
* deceleration is imposed.
*
* @return The rate of deceleration
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public double getUnoccupiedDeceleration();
/**
@@ -53,20 +63,26 @@ public interface Boat extends Vehicle {
* indicate that no additional deceleration is imposed.
*
* @param rate deceleration rate
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public void setUnoccupiedDeceleration(double rate);
/**
* Get whether boats can work on land.
*
* @return whether boats can work on land
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public boolean getWorkOnLand();
/**
* Set whether boats can work on land.
*
* @param workOnLand whether boats can work on land
+ * @deprecated boats are complex and many of these methods do not work correctly across multiple versions.
*/
+ @Deprecated
public void setWorkOnLand(boolean workOnLand);
}