Switching Weapon Modes

Started by NIghtGalaxy on

Topic category: Help with modding (Java Edition)

Last seen on 01:12, 12. Feb 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Switching Weapon Modes

Hello anyone who reads this; I'm still learning how to use MCreator, and one thing I want to do for a weapon is have it switch between attacks on right click mode. Specifically if I were to push some button, it would switch the weapon to it's long range attack, then switch back to it's short ranged attack. I was going to figure out how to do it with another button like ALT, but I again don't know how to do that. So if anyone would be willing to help that would be greatly appreciated!

 

Last seen on 03:15, 26. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
check what player is holding…
Sun, 02/18/2024 - 01:18

check what player is holding, and either remove the item and add a new one, or make it shoot a projectile