We would like a custom bow we created to shoot two arrows. I have it working kind of and am looking for some assistance.
To create the custom bow, I used the vanilla code as a template. With a single arrow the bow appears to work just fine. To shoot a second arrow, I added a second entity arrow throughout the bow code and spawn it in the the if (!par2World.isRemote) section.
When I shoot the bow at a tree, both arrow shoot from the bow and two arrows stick into the tree.
When I shoot the bow at a cow, one arrow hits the cow and the other bounces off and sticks into the ground facing me.
I am able to pick up both arrows, though I just noticed only one arrow is decremented from my inventory. It does appear that both arrows are doing damage.
At this point I assume I have gone about this the wrong way. I appreciate any suggestion to improve this mod.
Kind regards,
brettski111