public interface Vehicle extends Entity
Entity.Spigot| Modifier and Type | Method and Description |
|---|---|
Vector |
getVelocity()
Gets the vehicle's velocity.
|
void |
setVelocity(Vector vel)
Sets the vehicle's velocity.
|
eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWorld, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpVector getVelocity()
getVelocity in interface Entityvoid setVelocity(Vector vel)
setVelocity in interface Entityvel - velocity vectorCopyright © 2016. All rights reserved.