Pulling all pending Bukkit-JavaDoc changes

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-04-13 01:36:32 -05:00
parent 606b5ba706
commit a98bf9de33
6 changed files with 16 additions and 7 deletions

View File

@@ -65,6 +65,7 @@ public class EnchantItemEvent extends InventoryEvent implements Cancellable {
/**
* Get cost in exp levels of the enchantment
*
* @return experience level cost
*/
public int getExpLevelCost() {
@@ -73,6 +74,7 @@ public class EnchantItemEvent extends InventoryEvent implements Cancellable {
/**
* Set cost in exp levels of the enchantment
*
* @param level - cost in levels
*/
public void setExpLevelCost(int level) {
@@ -91,6 +93,7 @@ public class EnchantItemEvent extends InventoryEvent implements Cancellable {
/**
* Which button was pressed to initiate the enchanting.
*
* @return The button index (0, 1, or 2).
*/
public int whichButton() {

View File

@@ -59,6 +59,7 @@ public class PrepareItemEnchantEvent extends InventoryEvent implements Cancellab
/**
* Get list of offered exp level costs of the enchantment (modify values to change offer)
*
* @return experience level costs offered
*/
public int[] getExpLevelCostsOffered() {
@@ -67,6 +68,7 @@ public class PrepareItemEnchantEvent extends InventoryEvent implements Cancellab
/**
* Get enchantment bonus in effect - corresponds to number of bookshelves
*
* @return enchantment bonus
*/
public int getEnchantmentBonus() {

View File

@@ -177,7 +177,7 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
*/
MAGIC,
/**
*
* Damage caused by Wither potion effect
*/
WITHER,
/**

View File

@@ -21,7 +21,7 @@ public class PlayerPickupItemEvent extends PlayerEvent implements Cancellable {
}
/**
* Gets the ItemDrop created by the player
* Gets the Item picked up by the player.
*
* @return Item
*/