public interface Boat extends Vehicle
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
double |
getMaxSpeed()
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
double |
getOccupiedDeceleration()
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
double |
getUnoccupiedDeceleration()
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
TreeSpecies |
getWoodType()
Gets the wood type of the boat.
|
boolean |
getWorkOnLand()
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
void |
setMaxSpeed(double speed)
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
void |
setOccupiedDeceleration(double rate)
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
void |
setUnoccupiedDeceleration(double rate)
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
void |
setWoodType(TreeSpecies species)
Sets the wood type of the boat.
|
void |
setWorkOnLand(boolean workOnLand)
Deprecated.
boats are complex and many of these methods do not work correctly across multiple versions.
|
getVelocity, setVelocity
eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
TreeSpecies getWoodType()
void setWoodType(TreeSpecies species)
species
- the new wood type@Deprecated double getMaxSpeed()
@Deprecated void setMaxSpeed(double speed)
speed
- The max speed.@Deprecated double getOccupiedDeceleration()
@Deprecated void setOccupiedDeceleration(double rate)
rate
- deceleration rate@Deprecated double getUnoccupiedDeceleration()
@Deprecated void setUnoccupiedDeceleration(double rate)
rate
- deceleration rate@Deprecated boolean getWorkOnLand()
@Deprecated void setWorkOnLand(boolean workOnLand)
workOnLand
- whether boats can work on landCopyright © 2016. All rights reserved.