mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
#603: Specify what velocity changes in javadocs
By: Martoph <sager1018@gmail.com>
This commit is contained in:
@@ -49,7 +49,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
|
||||
public Location getLocation(@Nullable Location loc);
|
||||
|
||||
/**
|
||||
* Sets this entity's velocity
|
||||
* Sets this entity's velocity in meters per tick
|
||||
*
|
||||
* @param velocity New velocity to travel with
|
||||
*/
|
||||
|
@@ -18,7 +18,7 @@ public interface Vehicle extends Entity {
|
||||
public Vector getVelocity();
|
||||
|
||||
/**
|
||||
* Sets the vehicle's velocity.
|
||||
* Sets the vehicle's velocity in meters per tick.
|
||||
*
|
||||
* @param vel velocity vector
|
||||
*/
|
||||
|
Reference in New Issue
Block a user