public interface Vehicle extends Entity
| Modifier and Type | Method and Description |
|---|---|
Vector |
getVelocity()
Gets the vehicle's velocity.
|
void |
setVelocity(Vector vel)
Sets the vehicle's velocity.
|
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, teleportgetMetadata, hasMetadata, removeMetadata, setMetadataVector getVelocity()
getVelocity in interface Entityvoid setVelocity(Vector vel)
setVelocity in interface Entityvel - velocity vectorCopyright © 2014. All rights reserved.