org.bukkit.entity.Vehicle Maven / Gradle / Ivy
package org.bukkit.entity;
import org.bukkit.util.Vector;
/**
* Represents a vehicle entity.
*/
public interface Vehicle extends Entity {
/**
* Gets the vehicle's velocity.
*
* @return velocity vector
*/
Vector getVelocity();
/**
* Sets the vehicle's velocity.
*
* @param vel velocity vector
*/
void setVelocity(Vector vel);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy