22 lines
613 B
Java
22 lines
613 B
Java
![]() |
package WayofTime.bloodmagic.item.sigil;
|
||
|
|
||
|
import net.minecraft.entity.player.EntityPlayer;
|
||
|
import net.minecraft.item.ItemStack;
|
||
|
import net.minecraft.potion.PotionEffect;
|
||
|
import net.minecraft.world.World;
|
||
|
import WayofTime.bloodmagic.registry.ModPotions;
|
||
|
|
||
|
public class ItemSigilClaw extends ItemSigilToggleableBase
|
||
|
{
|
||
|
public ItemSigilClaw()
|
||
|
{
|
||
|
super("claw", 100);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void onSigilUpdate(ItemStack stack, World world, EntityPlayer player, int itemSlot, boolean isSelected)
|
||
|
{
|
||
|
player.addPotionEffect(new PotionEffect(ModPotions.cling, 2, 0, true, false));
|
||
|
}
|
||
|
}
|