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

@@ -560,7 +560,7 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* not be reliable, as it is a state provided by the client, and may therefore not be accurate.
*
* @return True if the player standing on a solid block, else false.
* @deprecated Inconsistent with {@link org.bukkit.craftbukkit.entity.Entity#isOnGround()}
* @deprecated Inconsistent with {@link org.bukkit.entity.Entity#isOnGround()}
*/
@Deprecated
public boolean isOnGround();

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.
*/