Pulling all pending Bukkit-JavaDoc changes

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-05-16 04:41:09 -05:00
parent a25fb951f6
commit 1366d7b502
11 changed files with 1063 additions and 102 deletions

View File

@@ -9,8 +9,10 @@ import org.bukkit.potion.PotionEffect;
* Represents a thrown potion bottle
*/
public interface ThrownPotion extends Projectile {
/**
* Returns the effects that are applied by this potion.
*
* @return The potion effects
*/
public Collection<PotionEffect> getEffects();
@@ -18,9 +20,9 @@ public interface ThrownPotion extends Projectile {
/**
* Returns a copy of the ItemStack for this thrown potion.
* <p>
* Altering this copy will not alter the thrown potion directly.
* If you want to alter the thrown potion, you must use the
* {@link #setItemStack(ItemStack) setItemStack} method.
* Altering this copy will not alter the thrown potion directly. If you
* want to alter the thrown potion, you must use the {@link
* #setItem(ItemStack) setItemStack} method.
*
* @return A copy of the ItemStack for this thrown potion.
*/