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, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setInvulnerable, setLastDamageCause, setPassenger, setSilent, 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 © 2016. All rights reserved.