Detect left clicking ranged weapon in hand

Started by Adi_MC on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Oct 2018
Points:
778

User statistics:

  • Modifications: 0
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 58
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?

Active 2 weeks ago
Joined Jul 2020
Points:
673

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 130
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.

Active 3 years ago
Joined Oct 2018
Points:
778

User statistics:

  • Modifications: 0
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 58
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