Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
This commit is contained in:
@@ -23,6 +23,7 @@ public class Potion {
|
||||
* Construct a new potion of the given type. Unless the type is {@link PotionType#WATER},
|
||||
* it will be level one, without extended duration. Don't use this constructor to create
|
||||
* a no-effect potion other than water bottle.
|
||||
*
|
||||
* @param type The potion type
|
||||
* @see #Potion(int)
|
||||
*/
|
||||
@@ -61,6 +62,7 @@ public class Potion {
|
||||
|
||||
/**
|
||||
* Create a new potion of the given type and level.
|
||||
*
|
||||
* @param type The type of potion.
|
||||
* @param level The potion's level.
|
||||
*/
|
||||
@@ -74,6 +76,7 @@ public class Potion {
|
||||
|
||||
/**
|
||||
* Create a new potion of the given type and level.
|
||||
*
|
||||
* @param type The type of potion.
|
||||
* @param level The potion's level.
|
||||
* @param splash Whether it is a splash potion.
|
||||
@@ -87,6 +90,7 @@ public class Potion {
|
||||
|
||||
/**
|
||||
* Create a new potion of the given type and level.
|
||||
*
|
||||
* @param type The type of potion.
|
||||
* @param level The potion's level.
|
||||
* @param splash Whether it is a splash potion.
|
||||
@@ -102,6 +106,7 @@ public class Potion {
|
||||
|
||||
/**
|
||||
* Create a potion with a specific name.
|
||||
*
|
||||
* @param name The name index (0-63)
|
||||
*/
|
||||
public Potion(int name) {
|
||||
@@ -115,6 +120,7 @@ public class Potion {
|
||||
|
||||
/**
|
||||
* Chain this to the constructor to make the potion a splash potion.
|
||||
*
|
||||
* @return The potion.
|
||||
*/
|
||||
public Potion splash() {
|
||||
@@ -124,6 +130,7 @@ public class Potion {
|
||||
|
||||
/**
|
||||
* Chain this to the constructor to extend the potion's duration.
|
||||
*
|
||||
* @return The potion.
|
||||
*/
|
||||
public Potion extend() {
|
||||
|
||||
Reference in New Issue
Block a user