Detect left clicking ranged weapon in hand

Started by Adi_MC on

Topic category: Help with modding (Java Edition)

Last seen on 08:33, 17. May 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect left clicking ranged weapon in hand

I'm making a dart blower. It's going to have normal, poison and wither darts. But I can only use one ammo type per weapon. So I thought I could switch modes of the dart blower to poison and wither dart blower by swinging item in hand. It worked! But right clicking also worked, meaning I can't even shoot with it. I want to shoot with right click and change mode with left click, maybe even shift left click. Can anyone help?

Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would have a keybind that…
Thu, 01/21/2021 - 07:12

I would have a keybind that would change the mode of the tart blower when pressed.

Last seen on 08:33, 17. May 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I thought of that, but I…
Fri, 01/22/2021 - 10:46

I thought of that, but I think it might be cooler left clicking