CommandSender
, Entity
, Metadatable
, Nameable
, Permissible
, PersistentDataHolder
, ServerOperator
, Vehicle
public interface Boat extends Vehicle
Entity.Spigot
Modifier and Type | Method | 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.
|
getName, sendMessage, sendMessage
addPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
getPersistentDataContainer
isOp, setOp
getVelocity, setVelocity
@NotNull TreeSpecies getWoodType()
void setWoodType(@NotNull 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 © 2019. All rights reserved.