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, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
Vector getVelocity()
getVelocity
in interface Entity
void setVelocity(Vector vel)
setVelocity
in interface Entity
vel
- velocity vectorCopyright © 2015. All rights reserved.