trying to make a weapon, need some help making it work

Started by Raven78 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
trying to make a weapon, need some help making it work

so im trying to make a weapon like a musket where you have an unloaded one, then when you right click it turns into a loaded one. after that when fired it will go back to unloaded. also will keep durability.

my unloading works, but the loading doesn't do anything.

also dont know how to make the durability persist between the two.

 

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
theoretically something like…
Sun, 05/28/2023 - 20:11

code

theoretically something like this should work

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh i was kind close i didnt…
Mon, 05/29/2023 - 03:03

oh i was kind close i didnt have that second part