| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Boat
Represents a boat entity.
| Method Summary | |
|---|---|
|  double | getMaxSpeed()Gets the maximum speed of a boat. | 
|  double | getOccupiedDeceleration()Gets the deceleration rate (newSpeed = curSpeed * rate) of occupied boats. | 
|  double | getUnoccupiedDeceleration()Gets the deceleration rate (newSpeed = curSpeed * rate) of unoccupied boats. | 
|  boolean | getWorkOnLand()Get whether boats can work on land. | 
|  void | setMaxSpeed(double speed)Sets the maximum speed of a boat. | 
|  void | setOccupiedDeceleration(double rate)Sets the deceleration rate (newSpeed = curSpeed * rate) of occupied boats. | 
|  void | setUnoccupiedDeceleration(double rate)Sets the deceleration rate (newSpeed = curSpeed * rate) of unoccupied boats. | 
|  void | setWorkOnLand(boolean workOnLand)Set whether boats can work on land. | 
| Methods inherited from interface org.bukkit.entity.Vehicle | 
|---|
| getVelocity, setVelocity | 
| Methods inherited from interface org.bukkit.entity.Entity | 
|---|
| eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, teleport, teleport, teleport, teleport | 
| Methods inherited from interface org.bukkit.metadata.Metadatable | 
|---|
| getMetadata, hasMetadata, removeMetadata, setMetadata | 
| Method Detail | 
|---|
double getMaxSpeed()
void setMaxSpeed(double speed)
speed - The max speed.double getOccupiedDeceleration()
void setOccupiedDeceleration(double rate)
rate - deceleration ratedouble getUnoccupiedDeceleration()
void setUnoccupiedDeceleration(double rate)
rate - deceleration rateboolean getWorkOnLand()
void setWorkOnLand(boolean workOnLand)
workOnLand - whether boats can work on land| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||