CommandSender
, Entity
, Metadatable
, Nameable
, Permissible
, PersistentDataHolder
, ServerOperator
AbstractHorse
, Boat
, ChestedHorse
, CommandMinecart
, Donkey
, ExplosiveMinecart
, HopperMinecart
, Horse
, Llama
, Minecart
, Mule
, Pig
, PoweredMinecart
, RideableMinecart
, SkeletonHorse
, SpawnerMinecart
, StorageMinecart
, TraderLlama
, 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, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, 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
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
getPersistentDataContainer
isOp, setOp
@NotNull Vector getVelocity()
getVelocity
in interface Entity
void setVelocity(@NotNull Vector vel)
setVelocity
in interface Entity
vel
- velocity vectorCopyright © 2019. All rights reserved.