Started by
Arrow_9
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make an item switch what projectile it uses by shift right clicking, I have it attached to the items right click function and cant seem to find the issue.
The only other forum post I have found was somebody saying it might be possible. A link to what I've done is https://imgur.com/a/vnKkwtM
Sorry but it seems your procedure is lacking something or maybe I'm just dumb. According to your image, whenever you shift right click it will change the element for example if its nbt tag was ice then it will change to fire; but the thing is from the beginning its nbt tag was emtpy, blank so all the codition in your procedure was fasle thus it didn't work.
This did in fact work. I also added a feature of it automatically switching to ice if it doesn't have a mode. Thank you!