More sigils

Deleted weird file
This commit is contained in:
Arcaratus 2015-12-28 19:09:51 -05:00
parent 0ec0570d1a
commit b96725fe98
31 changed files with 1011 additions and 53 deletions

View file

@ -0,0 +1,19 @@
package WayofTime.bloodmagic.item.sigil;
import WayofTime.bloodmagic.registry.ModPotions;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.world.World;
public class ItemSigilWhirlwind extends ItemSigilToggleable {
public ItemSigilWhirlwind() {
super("whirlwind", 250);
}
@Override
public void onSigilUpdate(ItemStack stack, World world, EntityPlayer player, int itemSlot, boolean isSelected) {
player.addPotionEffect(new PotionEffect(ModPotions.whirlwind.id, 2, 0, true, false));
}
}