org.bukkit.entity
Interface ThrownPotion

All Superinterfaces:
Entity, Metadatable, Projectile

public interface ThrownPotion
extends Projectile

Represents a thrown potion bottle


Method Summary
 Collection<PotionEffect> getEffects()
          Returns the effects that are applied by this potion.
 
Methods inherited from interface org.bukkit.entity.Projectile
doesBounce, getShooter, setBounce, setShooter
 
Methods inherited from interface org.bukkit.entity.Entity
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 

Method Detail

getEffects

Collection<PotionEffect> getEffects()
Returns the effects that are applied by this potion.

Returns:
The potion effects


Copyright © 2013. All Rights Reserved.