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, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
Vector getVelocity()
getVelocity
in interface Entity
void setVelocity(Vector vel)
setVelocity
in interface Entity
vel
- velocity vectorCopyright © 2014. All rights reserved.