public EnumActionResult onItemUse(EntityPlayer playerIn, World worldIn, BlockPos pos, EnumHand hand, EnumFacing side, float hitX, float hitY, float hitZ)
{
if (!worldIn.isRemote) return net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(this, playerIn, worldIn, pos, side, hitX, hitY, hitZ, hand);
EnumActionResult enumactionresult = this.getItem().onItemUse(playerIn, worldIn, pos, hand, side, hitX, hitY, hitZ);
if (enumactionresult == EnumActionResult.SUCCESS)
{
playerIn.addStat(StatList.getObjectUseStats(this.item));
}
return enumactionresult;
}
this is the point in the itemStack where it gets called from,and the problem you have
why is the hook only called from the server side and not both ??