CommandSender
, Entity
, Metadatable
, Nameable
, Permissible
, ServerOperator
AbstractHorse
, Boat
, ChestedHorse
, CommandMinecart
, Donkey
, ExplosiveMinecart
, HopperMinecart
, Horse
, Llama
, Minecart
, Mule
, Pig
, PoweredMinecart
, RideableMinecart
, SkeletonHorse
, SpawnerMinecart
, StorageMinecart
, ZombieHorse
public interface Vehicle extends Entity
Entity.Spigot
Modifier and Type | Method | Description |
---|---|---|
Vector |
getVelocity() |
Gets the vehicle's velocity.
|
void |
setVelocity(Vector vel) |
Sets the vehicle's velocity.
|
getName, sendMessage, sendMessage
addPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
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 © 2018. All rights reserved.