// Path: Journey of Legends/aginsun/journey/universal/entities/EntityShuricken.java
// public class EntityShuricken extends EntityThrowable 
// {
//     public EntityShuricken(World par1World)
//     {
//         super(par1World);
//     }
// 
//     public EntityShuricken(World par1World, EntityLivingBase par2EntityLiving)
//     {
//         super(par1World, par2EntityLiving);
//     }
// 
//     public EntityShuricken(World par1World, double par2, double par4, double par6)
//     {
//         super(par1World, par2, par4, par6);
//     }
// 	
//     protected void onImpact(MovingObjectPosition par1MovingObjectPosition)
//     {
//         if (par1MovingObjectPosition.entityHit != null)
//         {
//             par1MovingObjectPosition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 2);
//         }
// 
//         if (!this.worldObj.isRemote)
//         {
//             this.setDead();
//         }
//     }
// }


import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import aginsun.journey.universal.entities.EntityShuricken;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
package aginsun.journey.universal.items;


public class ItemShuricken extends Item
{
	public ItemShuricken(int par1) 
	{
		super(par1);
		this.setCreativeTab(CreativeTabs.tabCombat);
	}
	
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    {
        if (!par3EntityPlayer.capabilities.isCreativeMode)
        {
            --par1ItemStack.stackSize;
        }

        par2World.playSoundAtEntity(par3EntityPlayer, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));

        if (!par2World.isRemote)
        {
// Path: Journey of Legends/aginsun/journey/universal/entities/EntityShuricken.java
// public class EntityShuricken extends EntityThrowable 
// {
//     public EntityShuricken(World par1World)
//     {
//         super(par1World);
//     }
// 
//     public EntityShuricken(World par1World, EntityLivingBase par2EntityLiving)
//     {
//         super(par1World, par2EntityLiving);
//     }
// 
//     public EntityShuricken(World par1World, double par2, double par4, double par6)
//     {
//         super(par1World, par2, par4, par6);
//     }
// 	
//     protected void onImpact(MovingObjectPosition par1MovingObjectPosition)
//     {
//         if (par1MovingObjectPosition.entityHit != null)
//         {
//             par1MovingObjectPosition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 2);
//         }
// 
//         if (!this.worldObj.isRemote)
//         {
//             this.setDead();
//         }
//     }
// }


// Path: Journey of Legends/aginsun/journey/universal/items/ItemShuricken.java
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import aginsun.journey.universal.entities.EntityShuricken;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

package aginsun.journey.universal.items;


public class ItemShuricken extends Item
{
	public ItemShuricken(int par1) 
	{
		super(par1);
		this.setCreativeTab(CreativeTabs.tabCombat);
	}
	
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    {
        if (!par3EntityPlayer.capabilities.isCreativeMode)
        {
            --par1ItemStack.stackSize;
        }

        par2World.playSoundAtEntity(par3EntityPlayer, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));

        if (!par2World.isRemote)
        {
            par2World.spawnEntityInWorld(new EntityShuricken(par2World, par3EntityPlayer));