Many javadoc fixes thanks to Celtic Minstrel

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-09-25 02:56:40 +01:00
parent 1968b78a12
commit a8e72bdb91
78 changed files with 380 additions and 335 deletions

View File

@@ -6,7 +6,7 @@ public interface TravelAgent {
* Set the Block radius to search in for available portals.
*
* @param radius The radius in which to search for a portal from the location.
* @return
* @return This travel agent.
*/
public TravelAgent setSearchRadius(int radius);
@@ -21,7 +21,7 @@ public interface TravelAgent {
* Sets the maximum radius from the given location to create a portal.
*
* @param radius The radius in which to create a portal from the location.
* @return
* @return This travel agent.
*/
public TravelAgent setCreationRadius(int radius);
@@ -57,13 +57,15 @@ public interface TravelAgent {
/**
* Attempt to find a portal near the given location.
*
* @param location The desired location of the portal.
* @return Returns the location of the nearest portal to the location.
*/
public Location findPortal(Location location);
/**
* Attempt to create a portal near the given location.
*
*
* @param location The desired location of the portal.
* @return True if a nether portal was successfully created.
*/
public boolean createPortal(Location location);