Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here. By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
@@ -86,7 +86,8 @@ public abstract class Enchantment {
|
||||
public static final Enchantment DIG_SPEED = new EnchantmentWrapper(32);
|
||||
|
||||
/**
|
||||
* Allows blocks to drop themselves instead of fragments (for example, stone instead of cobblestone)
|
||||
* Allows blocks to drop themselves instead of fragments (for example,
|
||||
* stone instead of cobblestone)
|
||||
*/
|
||||
public static final Enchantment SILK_TOUCH = new EnchantmentWrapper(33);
|
||||
|
||||
@@ -187,8 +188,11 @@ public abstract class Enchantment {
|
||||
public abstract boolean conflictsWith(Enchantment other);
|
||||
|
||||
/**
|
||||
* Checks if this Enchantment may be applied to the given {@link ItemStack}.
|
||||
* This does not check if it conflicts with any enchantments already applied to the item.
|
||||
* Checks if this Enchantment may be applied to the given {@link
|
||||
* ItemStack}.
|
||||
* <p>
|
||||
* This does not check if it conflicts with any enchantments already
|
||||
* applied to the item.
|
||||
*
|
||||
* @param item Item to test
|
||||
* @return True if the enchantment may be applied, otherwise False
|
||||
|
||||
Reference in New Issue
Block a user