2014-07-31 19:45:40 -04:00
|
|
|
package WayofTime.alchemicalWizardry.common.potion;
|
|
|
|
|
2015-02-13 02:01:11 +00:00
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2014-07-31 19:45:40 -04:00
|
|
|
import net.minecraft.potion.Potion;
|
|
|
|
|
2015-02-13 02:01:11 +00:00
|
|
|
import java.util.ArrayList;
|
|
|
|
|
2014-07-31 19:45:40 -04:00
|
|
|
public class PotionSoulFray extends Potion
|
|
|
|
{
|
|
|
|
public PotionSoulFray(int par1, boolean par2, int par3)
|
|
|
|
{
|
|
|
|
super(par1, par2, par3);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Potion setIconIndex(int par1, int par2)
|
|
|
|
{
|
|
|
|
super.setIconIndex(par1, par2);
|
|
|
|
return this;
|
|
|
|
}
|
2015-02-13 02:01:11 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void performEffect(EntityLivingBase entityLivingBase, int level)
|
|
|
|
{
|
|
|
|
entityLivingBase.getActivePotionEffect(this).setCurativeItems(new ArrayList<ItemStack>());
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isReady(int duration, int level)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2014-07-31 19:45:40 -04:00
|
|
|
}
|