public interface Boat extends Vehicle
Entity.Spigot
修飾子とタイプ | メソッドと説明 |
---|---|
double |
getMaxSpeed()
非推奨です。
boats are complex and many of these methods do not work correctly across multiple versions.
|
double |
getOccupiedDeceleration()
非推奨です。
boats are complex and many of these methods do not work correctly across multiple versions.
|
double |
getUnoccupiedDeceleration()
非推奨です。
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()
非推奨です。
boats are complex and many of these methods do not work correctly across multiple versions.
|
void |
setMaxSpeed(double speed)
非推奨です。
boats are complex and many of these methods do not work correctly across multiple versions.
|
void |
setOccupiedDeceleration(double rate)
非推奨です。
boats are complex and many of these methods do not work correctly across multiple versions.
|
void |
setUnoccupiedDeceleration(double rate)
非推奨です。
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)
非推奨です。
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, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setInvulnerable, setLastDamageCause, setPassenger, 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.