[Bleeding] Added Potions API. Fixes BUKKIT-389

By: fullwall <fullwall@optusnet.com>
This commit is contained in:
Bukkit/Spigot
2012-01-09 14:39:06 +08:00
parent af8929507e
commit a66baab794
11 changed files with 891 additions and 1 deletions

View File

@@ -1,8 +1,15 @@
package org.bukkit.entity;
import java.util.Collection;
import org.bukkit.potion.PotionEffect;
/**
* Represents a thrown potion bottle
*/
public interface ThrownPotion extends Projectile {
/**
* Returns the effects that are applied by this potion.
*/
public Collection<PotionEffect> getEffects();
}