Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Vehicle.java
1 package org.bukkit.entity;
2 
3 import org.bukkit.util.Vector;
4 
5 /**
6  * Represents a vehicle entity.
7  */
8 public interface Vehicle extends Entity {
9 
10  /**
11  * Gets the vehicle's velocity.
12  *
13  * @return velocity vector
14  */
15  public Vector getVelocity();
16 
17  /**
18  * Sets the vehicle's velocity.
19  *
20  * @param vel velocity vector
21  */
22  public void setVelocity(Vector vel);
23 }
void setVelocity(Vector vel)