Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 23 lines 451 B view raw
1package org.bukkit.entity; 2 3/** 4 * Represents a boat entity. 5 * 6 * @author sk89q 7 */ 8public interface Boat extends Vehicle { 9 10 /** 11 * Gets the maximum speed of a boat. The speed is unrelated to the velocity. 12 * 13 * @param speed 14 */ 15 public double getMaxSpeed(); 16 17 /** 18 * Sets the maximum speed of a boat. Must be nonnegative. Default is 0.4D. 19 * 20 * @param speed 21 */ 22 public void setMaxSpeed(double speed); 23}