Topic category: Help with modding (Java Edition)
Hey guys, hopefully I can explain what I'm trying to do that can be understood.
I have a multitool that I would like to have shoot a projectile.
I've made & tested the multitool item and it works. I then created a procedure and set it as the "on right click in air" action of the tool (refer to image below for procedure);
I tested this in game and it works perfectly. You right click and it shoots an arrow!
What I would like to do now is find a way to change what it fires (as in, can i change the arrow to say... an iron nugget or some other element I've made)?
For example, if I created a "ranged item" element, one of the options you can set is an item for the ammo (refer to image below);
Is there a way I can set the "item for ammo" in my procedure? Or does someone know how to achieve something similar another way?
Any help would be appreciated.