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 |
---|---|---|
@NotNull Vector |
getVelocity() |
Gets the vehicle's velocity.
|
void |
setVelocity(@NotNull 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, 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, teleportAsync, teleportAsync
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
getPersistentDataContainer
isOp, setOp
@NotNull @NotNull Vector getVelocity()
getVelocity
in interface Entity
void setVelocity(@NotNull @NotNull Vector vel)
setVelocity
in interface Entity
vel
- velocity vectorCopyright © 2020. All rights reserved.