Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.Vehicle Interface Reference
Inheritance diagram for org.bukkit.entity.Vehicle:
org.bukkit.entity.Entity org.bukkit.metadata.Metadatable org.bukkit.entity.Boat org.bukkit.entity.Horse org.bukkit.entity.Minecart org.bukkit.entity.Pig org.bukkit.entity.minecart.CommandMinecart org.bukkit.entity.minecart.ExplosiveMinecart org.bukkit.entity.minecart.HopperMinecart org.bukkit.entity.minecart.PoweredMinecart org.bukkit.entity.minecart.RideableMinecart org.bukkit.entity.minecart.SpawnerMinecart org.bukkit.entity.minecart.StorageMinecart org.bukkit.entity.PoweredMinecart org.bukkit.entity.StorageMinecart

Public Member Functions

Vector getVelocity ()
void setVelocity (Vector vel)
- Public Member Functions inherited from org.bukkit.entity.Entity
Location getLocation ()
Location getLocation (Location loc)
boolean isOnGround ()
World getWorld ()
boolean teleport (Location location)
boolean teleport (Location location, TeleportCause cause)
boolean teleport (Entity destination)
boolean teleport (Entity destination, TeleportCause cause)
List< org.bukkit.entity.EntitygetNearbyEntities (double x, double y, double z)
int getEntityId ()
int getFireTicks ()
int getMaxFireTicks ()
void setFireTicks (int ticks)
void remove ()
boolean isDead ()
boolean isValid ()
Server getServer ()
abstract Entity getPassenger ()
abstract boolean setPassenger (Entity passenger)
abstract boolean isEmpty ()
abstract boolean eject ()
float getFallDistance ()
void setFallDistance (float distance)
void setLastDamageCause (EntityDamageEvent event)
EntityDamageEvent getLastDamageCause ()
UUID getUniqueId ()
int getTicksLived ()
void setTicksLived (int value)
void playEffect (EntityEffect type)
EntityType getType ()
boolean isInsideVehicle ()
boolean leaveVehicle ()
Entity getVehicle ()

Detailed Description

Represents a vehicle entity.

Definition at line 8 of file Vehicle.java.

Member Function Documentation

Vector org.bukkit.entity.Vehicle.getVelocity ( )

Gets the vehicle's velocity.

velocity vector

Implements org.bukkit.entity.Entity.

void org.bukkit.entity.Vehicle.setVelocity ( Vector  vel)

Sets the vehicle's velocity.

velvelocity vector

Implements org.bukkit.entity.Entity.

The documentation for this interface was generated from the following file: