Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
This commit is contained in:
@@ -596,6 +596,7 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
||||
|
||||
/**
|
||||
* Sets the speed at which a client will fly. Negative values indicate reverse directions.
|
||||
*
|
||||
* @param value The new speed, from -1 to 1.
|
||||
* @throws IllegalArgumentException If new speed is less than -1 or greater than 1
|
||||
*/
|
||||
@@ -603,6 +604,7 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
||||
|
||||
/**
|
||||
* Sets the speed at which a client will walk. Negative values indicate reverse directions.
|
||||
*
|
||||
* @param value The new speed, from -1 to 1.
|
||||
* @throws IllegalArgumentException If new speed is less than -1 or greater than 1
|
||||
*/
|
||||
@@ -610,12 +612,14 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
||||
|
||||
/**
|
||||
* Gets the current allowed speed that a client can fly.
|
||||
*
|
||||
* @return The current allowed speed, from -1 to 1
|
||||
*/
|
||||
public float getFlySpeed();
|
||||
|
||||
/**
|
||||
* Gets the current allowed speed that a client can walk.
|
||||
*
|
||||
* @return The current allowed speed, from -1 to 1
|
||||
*/
|
||||
public float getWalkSpeed();
|
||||
|
||||
Reference in New Issue
Block a user