Help making an item switch projectiles

Started by Arrow_9 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help making an item switch projectiles

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

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry but it seems your…
Sat, 06/11/2022 - 03:54

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.

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This did in fact work. I…
Sat, 06/18/2022 - 01:35

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!