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, sendMessage, sendMessage
addPassenger, addScoreboardTag, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleport, teleportAsync, teleportAsync
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
@NotNull Vector getVelocity()
getVelocity
in interface Entity
void setVelocity(@NotNull Vector vel)
setVelocity
in interface Entity
vel
- velocity vectorCopyright © 2020. All rights reserved.