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, setVelocityaddPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpgetCustomName, setCustomNameTreeSpecies 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 © 2017. All rights reserved.