Okay if you don't understand what I'm about to say, sorry but it's the easiest I can do
I haven't dealt with this or even tried your code, or fletched on my server before, but I think you're going to have to make it so say you use normal logs on knife, it opens the same interface as if you use magic logs on knife, correct?
Well I believe you're going to have to use a variable, say variable "woodType" and if it's normal you'd be like woodType=1;, but if magic, woodType=7; or something, you know?
Then in the interface, clickingbutton for making a shortbow, it would check if woodType=1, you get normal, if woodType=7, you get magic.
Hope that helps.