[Bleeding] Added Potions API. Fixes BUKKIT-389

This commit is contained in:
fullwall
2012-01-09 14:39:06 +08:00
committed by EvilSeph
parent 43815ca003
commit f229d6fe83
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();
}