Added the Sigil of Elasticity, the Sigil of the Claw, and the Sigil of Winter's Breath.
This commit is contained in:
parent
0a1d66a1d9
commit
ea43fbce7d
22 changed files with 186 additions and 8 deletions
src/main/java/WayofTime/bloodmagic/item/sigil
|
@ -0,0 +1,20 @@
|
|||
package WayofTime.bloodmagic.item.sigil;
|
||||
|
||||
import net.minecraft.enchantment.EnchantmentFrostWalker;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class ItemSigilFrost extends ItemSigilToggleableBase
|
||||
{
|
||||
public ItemSigilFrost()
|
||||
{
|
||||
super("frost", 100);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSigilUpdate(ItemStack stack, World world, EntityPlayer player, int itemSlot, boolean isSelected)
|
||||
{
|
||||
EnchantmentFrostWalker.freezeNearby(player, world, player.getPosition(), 1);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue